Creating a new file association [SOLVED]

Forum rules
Before you post please read how to get help
Ctulhu
Level 2
Level 2
Posts: 57
Joined: Mon May 02, 2011 5:45 pm

Creating a new file association [SOLVED]

Postby Ctulhu » Thu Jul 19, 2012 12:29 am

I am using Mint 12 KDE. I often use a mindmapping software called VUE, which allows one to generate a mind map in a GUI and then saves the file as an XML file. In my start menu, I have created a shortcut and icon for it (in the Office section of the start menu, which launches VUE by executing a .jar:

java -jar /home/NAME/PATH/VUE/VUE_3-1-2.jar

What I can't seem to do is create a file type for that. Dolphin looks at the file and classifies it as an HTML document, which means it uses Firefox to open it when I click on it. So I went to System Settings > File Associations > Add / Create a new file type. Not knowing which group to take, I tool the group text (because html/xml is text). I gave that thing a name (VUE Mindmap), gave it an icon, told it to open files like this with Office: VUE, etc. and it doesn't do unicorns. In Dolphin, .vue files are still considered HTML docs, it still opens with Firefox ...

In Gnome (before this whole Unity crap, that is) , this was all no problem - what's the glitch here, any thoughts?
Last edited by Ctulhu on Mon Sep 24, 2012 12:51 pm, edited 1 time in total.

HughT
Level 5
Level 5
Posts: 627
Joined: Thu Oct 20, 2011 1:54 pm
Location: England

Re: Creating a new file association

Postby HughT » Thu Jul 19, 2012 6:49 pm

Hi Ctulhu, I'm not sure if I can help since I'm using Mint 11 Gnome. But it seems to me that you need a command to open the application first, then open the file with that. For example if I wanted to open a Word document with Libreoffice, I could use the terminal command

Code: Select all

 soffice /Documents/Work/1366953.doc
Obviously I could create a launcher with that command and put it on the desktop or menu. Does that help in any way? regards
Please Edit your post title and add [SOLVED] once your question is resolved.

Ctulhu
Level 2
Level 2
Posts: 57
Joined: Mon May 02, 2011 5:45 pm

Re: Creating a new file association

Postby Ctulhu » Fri Jul 20, 2012 12:37 am

Hm, no, because I have a command:

java -jar /home/NAME/PATH/VUE/VUE_3-1-2.jar

The problem is that the File Associations tool doesn't let me override Mint's 'guess' that 'obviously' I want to open an XML/HTML with Firefox by creating a new file association.

User avatar
Oscar799
Level 19
Level 19
Posts: 9468
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Creating a new file association

Postby Oscar799 » Fri Jul 20, 2012 3:22 am

Moved here by moderator
Image
"Don't fix it if it ain't broken,don't break it if you can't fix it" Husse
Registered Linux User #511789

HughT
Level 5
Level 5
Posts: 627
Joined: Thu Oct 20, 2011 1:54 pm
Location: England

Re: Creating a new file association

Postby HughT » Fri Jul 20, 2012 7:51 am

Please Edit your post title and add [SOLVED] once your question is resolved.

Ctulhu
Level 2
Level 2
Posts: 57
Joined: Mon May 02, 2011 5:45 pm

Re: Creating a new file association

Postby Ctulhu » Mon Sep 24, 2012 12:51 pm

I thought I had done that but upon revisiting this, it turned out the link to the jar was broken, duh ... Now it's fine, thanks!


Return to “KDE”

Who is online

Users browsing this forum: No registered users and 0 guests