linux

In which place keep my notes for study

Blog Archive

  • ►  2011 (1)
    • ►  April (1)
      • How to disable SSH host key checking
  • ►  2010 (2)
    • ►  September (2)
      • file manipulation
      • Install Apache and PHP on Window XP
  • ►  2009 (1)
    • ►  January (1)
      • Amarok
  • ►  2008 (1)
    • ►  January (1)
      • English names for the characters in keyboard
  • ►  2007 (4)
    • ►  November (2)
      • Emacs (Auctex) Window XP installation instruction
      • MBR恢复
    • ►  August (1)
      • What does “> /dev/null 2>&1″ mean?
    • ►  July (1)
      • linux 启动过程(一直没有时间看,先保留)
  • ▼  2006 (8)
    • ▼  November (3)
      • 重新装window后 grub的恢复
      • How to set default application for running a progr...
      • Emacs Tips (configuration of .emacs)
    • ►  October (5)
      • change the default display manager
      • upgrade java 1.4 to 1.5
      • How to add the installed application to the applic...
      • Tips for change MAC ID, GRUB, install KDE, GNOME ...
      • Purpose of this blogger

About Me

wason
View my complete profile

Saturday, November 11, 2006

How to set default application for running a program

just revise the file
/usr/share/applications/defaults.list
for example:
application/pdf=AdobeReader.desktop
will set acroread as the default application when viewing pdf file
Don't forget make a backup file in the first place ^_^
Posted by wason at 4:50 PM

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)