There are three ways to open any file under Gnome Linux / UNIX Desktop. gnome-open is the quickest and easiest way to open any file or url. Let us see how to open a pdf file quickly.
Open a File Using Application itself (time consuming)
Click on Application > Select App > File > Open > Select File
Open a File Using Run Application Dialog box
The Run Application dialog gives you access to the command line.
Hit Alt+F2 > Type file name > Enter

Fig.01: Run File / Command Dialog box
Please note that when you run a command in the Run Application dialog, you cannot receive output from the command.
Open a File Using The Command Line
gnome-open will open file using your preferred application. To open a pdf file, enter:
gnome-open file.pdf
Other common usage
Write email:
gnome-open 'mailto:user@example.com'
Open example.com website:
gnome-open example.com
Play mp3s:
gnome-open *.mp3
Open file browser in current directory:
gnome-open .
gnome-open /share/docs/
Put the following alias to speed up operation:
echo 'alias o="gnome-open $@"' >>~/.bashrc
$ o /path/to/file.pdf
$ o theos.in
How do configure preferred application?
Use the Preferred Applications preference tool to specify the applications that
you want the GNOME Desktop to use when the GNOME Desktop starts an application
for you.
Simply click on System > Preferences > Preferred Application
You can customize the preferences for the Preferred Applications preference tool in the following functional areas.
- Web Browser
- Mail Reader
- Terminal
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop














{ 6 comments… read them below or add one }
Am looking for a linux based cyber cafe timer software that runs on linux and works almost like cyber cafe pro timer software for windows xp.
And also if it is possible to use cyber cafe pro 5. on linux using wine software?
I have susbscribed to your RSS, and I find all the articles extremely useful for our support team.
thanks, great work buddy.
Keep it up.
Limesh Parekh
I think who have tried gnome-open will love to gnome-do as well.
http://do.davebsd.com/
I personally find gnome-do can rubost the working performance in Linux desktop as well as gnome-open.
George,
http://sourceforge.net/projects/cyborg/
Found this… Any help?
This is what I was looking for, thanks!
great, wanted this method, too :-)