File associations: "Open With"[SOLVED]

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon

File associations: "Open With"[SOLVED]

Postby Odipides on Tue Jun 19, 2012 6:25 am

I love Cinnamon to bits but there seem to be a couple of grotty bits. One that's really giving me grief at the moment is that I can't seem to associate file types with a particular application if the app isn't in the applications list.

For example, I use Visual Slickedit as my programming editor and, for whatever reason, when you right click a file and hit Properties->Open With->Show Other Applications, Slickedit isn't listed. Unfortunately, the "Add" button is greyed out and I can't seem to find where the system application configuration list is kept so i could edit it manually (the Ubuntu forum thread http://ubuntuforums.org/showthread.php?t=1850568 says it's in /usr/share/applications/myapp.desktop but the file doesn't exist in my mint installation). In Gnome 2 you just selected "Custom Command" but there doesn't seem to be an equivalent (working) mechanism in Cinnamon.

I would have thought this is a fairly serious bug but I can't seem to find anything on it.

All I want to do is associate /home/paul/.slickbin/bin/vs with .tex files; can't be that hard!

Any ideas?

(By the way, I've tried running nautilus in root mode to change the properties and the add button is still greyed out)
Last edited by Odipides on Tue Jun 19, 2012 9:07 am, edited 1 time in total.
Odipides
Level 1
Level 1
 
Posts: 19
Joined: Fri May 25, 2012 7:13 am

Linux Mint is funded by ads and donations.
 

Re: File associations: "Open With"

Postby wswack on Tue Jun 19, 2012 6:52 am

I have a similar problem. I use Eudora, running under wine, for email. There doesn't seem to be any way to set it as the default email in LM 13 Cinnamon. This is an important problem for me.

Also: I installed VLC for video and Audacious for audio. Even after setting these as default, Banshee continued to open as the default program. I was only able to correct this by uninstalling Banshee.
wswack
Level 1
Level 1
 
Posts: 21
Joined: Mon Jun 11, 2012 10:56 am

Re: File associations: "Open With"

Postby BrianD on Tue Jun 19, 2012 7:57 am

There is a bug in the tracker regarding this, but it hasn't seen a lot of activity.

I use Audacious and VLC, and wanted to set them as the default applications for music and video, respectively. I'm able to change the application to Audacious or VLC, and while that settings dialog dutifully shows each respective application as the 'default' for that type, Totem would continue to be used to open the files.

I have discovered that this is not a Cinnamon problem, but a Gnome 3.x (or, possibly, a Nautilus) problem -- I had the same issue on my plain vanilla Fedora 17 installation with no Cinnamon installed (yet).
need I say more??
BrianD
Level 4
Level 4
 
Posts: 306
Joined: Fri Feb 12, 2010 12:22 am
Location: Tallahassee, Florida, USA

Re: File associations: "Open With"

Postby MSeries on Tue Jun 19, 2012 8:18 am

Odipides wrote: (the Ubuntu forum thread http://ubuntuforums.org/showthread.php?t=1850568 says it's in /usr/share/applications/myapp.desktop but the file doesn't exist in my mint installation).


the .deskptop files do exist in my Mint 13 Cinnamon installation, you are not expecting to find a file called myapp.desktop are you ? Well if you had an applicaiton called myapp then you probably would :wink: I am not at my Mint machine right now so can't check but I had one called open-jdk-java.desktop or something similar that is used to invoke the JRE for a jar file.. Maybe you need to create a new one for your new application.
MSeries
Level 1
Level 1
 
Posts: 46
Joined: Sun Sep 25, 2011 4:15 pm

Re: File associations: "Open With"

Postby Odipides on Tue Jun 19, 2012 8:24 am

"you are not expecting to find a file called myapp.desktop"

Doh! Yes I was. I misread the ubuntu post. I'd thought this was where the applist was, didn't notice that it's a file per app.

Thanks for the heads up, I'll try again with my brain turned on.
Odipides
Level 1
Level 1
 
Posts: 19
Joined: Fri May 25, 2012 7:13 am

Re: File associations: "Open With"

Postby altair4 on Tue Jun 19, 2012 8:43 am

Well, I guess the "right" way to do this is this way: viewtopic.php?f=47&t=90202

But this is "my" way:

Install another file manager - this one from XFCE:
Code: Select all
sudo apt-get install thunar

It will show up in the menu under "System Tools" or just run:
Code: Select all
thunar

Right click a file with the extension you want to change and select: "Open with other application"
You will end up with something that should look a lot like the following and the association you make in thunar will apply to nautilus:
Attachments
Screenshot.png
Screenshot.png (43.75 KiB) Viewed 6377 times
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 16
Level 16
 
Posts: 6288
Joined: Tue Feb 03, 2009 10:27 am

Re: File associations: "Open With"[SOLVED]

Postby Odipides on Tue Jun 19, 2012 9:10 am

Thanks, thunar approach works perfectly.

I tried to edit the application files myself but ended up opening the file twice (once in Slick and once in gedit) dunno why. Also, all my changes to defaults.list disappeared spontaneously - also no idea why.

Thanks again for the help.
Odipides
Level 1
Level 1
 
Posts: 19
Joined: Fri May 25, 2012 7:13 am

Re: File associations: "Open With"[SOLVED]

Postby HoppityBob on Tue Jun 19, 2012 5:47 pm

Phewee, another thanks from me ! I just came across this problem today and was scratching my head how to solve it. What an utterly stupid bug, that's the kind of regression which makes me ponder whether I'm using the right desktop at all.
HoppityBob
Level 1
Level 1
 
Posts: 45
Joined: Sun Feb 14, 2010 1:59 pm

Re: File associations: "Open With"[SOLVED]

Postby jerkey on Wed Nov 28, 2012 6:25 pm

This is ridiculous. I know you are all computer experts and you don't think it's that big of a deal to go editing system files to be able to do things, but isn't the whole point of an operating system to make things easier? The idea that a user can't associate a type of file with its correct program without installing a third-party application is a sure sign that the OS is lacking some basic infrastructure.

sorry if i'm complaining in the wrong forum but i want people to demand a higher standard for operating system software than this.
jerkey
Level 1
Level 1
 
Posts: 3
Joined: Wed Nov 28, 2012 6:20 pm

Re: File associations: "Open With"[SOLVED]

Postby altair4 on Thu Nov 29, 2012 8:12 am

jerkey wrote:This is ridiculous. I know you are all computer experts and you don't think it's that big of a deal to go editing system files to be able to do things, but isn't the whole point of an operating system to make things easier? The idea that a user can't associate a type of file with its correct program without installing a third-party application is a sure sign that the OS is lacking some basic infrastructure.

sorry if i'm complaining in the wrong forum but i want people to demand a higher standard for operating system software than this.

As an accomplished ranter myself I can appreciate your indignation but you are correct - you are posting this in the wrong forum.

This has nothing to do with Mint but everything to do with Gnome. Gnome's overriding design philosophy has always been that they know better than you what you need and they will continuously remove function with every point release. They have come to the conclusion in this particular situation that you have no business setting your own file associations - at least they are not going to make it simple enough for a mere user to do.

Mint has taken steps with Cinnamon to bring sanity back to the Gnome desktop but unless I missed the memo they do not yet have a staff large enough to fix everything.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 16
Level 16
 
Posts: 6288
Joined: Tue Feb 03, 2009 10:27 am

Re: File associations: "Open With"[SOLVED]

Postby wychall on Tue Dec 04, 2012 2:46 pm

Thunar has answered my Prayers!

Thank you altair4 :D
wychall
Level 1
Level 1
 
Posts: 1
Joined: Sun Feb 19, 2012 8:50 am

Re: File associations: "Open With"[SOLVED]

Postby garbour on Tue Jan 29, 2013 1:30 am

Brilliant work. Did the thunar "trick" for foxit through wine and it worked like a champ. Thanks for posting!
garbour
Level 1
Level 1
 
Posts: 5
Joined: Sun Jan 20, 2013 2:19 pm

Re: File associations: "Open With"[SOLVED]

Postby hexpek on Tue Aug 06, 2013 4:51 pm

I like altair4 's Thunar trick - awsome, perfect example of thinking outside the box!
Thank you very very much.

Cheers,
hexpek
hexpek
Level 1
Level 1
 
Posts: 1
Joined: Thu Dec 22, 2011 5:01 pm

Linux Mint is funded by ads and donations.
 

Return to Cinnamon

Who is online

Users browsing this forum: No registered users and 10 guests