PDA

View Full Version : [ubuntu] GNOME: app that launches correct file handler?



lduperval
August 27th, 2009, 07:20 PM
Hi,

What is the program that launches the correct file handler for a given file in GNOME? I would like to use it e.g. in Thunderbird to say "Use the currently defined browser" instead of putting the link to the actual binary.

Thanks,

L

P.S. If you know what the correct syntax to use it is in TB, I'd like to know that too.

ajgreeny
August 27th, 2009, 08:15 PM
If your Preferred Application is set as firefox, that should open in email message links. A similar situation will pertain for other file type attachments etc etc. Whatever is set to be the system default to open them should do it in emails, so for a file of a certain type, right click in nautlius, select the Open With tab and set your application there.

lduperval
August 27th, 2009, 09:06 PM
Thanks. Your response turn on a light in my brain. The application I was looking for was gnome-open. When you give it a file, it figures out what it is and launches it with the correct viewer.

L