PDA

View Full Version : HowTo gnome-open "anything"


xyz
December 17th, 2006, 10:57 AM
I was roaming the "ubuntu-fr.org" and found a post by BookeldOr (http://forum.ubuntu-fr.org/viewtopic.php?id=80904) that said gnome-open "n'importequoi" meaining that with the "gnome-open" command line, you'll open lots of stuff from a terminal.
I find this very useful; it may depend on the way you approach your OS, I guess.

So I tried a bit...

I have a FAT 32 /dev/hda3 partition;so:
th@luser:~$ gnome-open /media/hda3

or my external HD:
gnome-open /media/usbdisk

Now I'd like to have a look at my photos:
gnome-open /home/th/photos

Need to read a .pdf?
gnome-open file_whatever.pdf
This will open the file with your preferred pdf reader.

How about:
gnome-open ubuntuforums.org
No need for www...

Want to send an E-mail to your friends?
gnome-open mailto:yourfriend@hello.com
This will start the mail client you chose.

And so on...
I think this works with all mime types.

pavel_kbc
December 18th, 2006, 12:50 PM
good tips . thanks :P

kalikiana
December 18th, 2006, 02:52 PM
Incidently you can use 'exo-open' on Xubuntu in the very same way. ;)

~LoKe
December 18th, 2006, 03:43 PM
Not bad!