Default applications

Magnus Therning magnus at therning.org
Tue May 10 18:08:53 UTC 2005


On Tue, May 10, 2005 at 10:27:56AM +0200, Alain Muls wrote:
>How can I change the default applications used in gnome, eg. instead of
>opening a PDF with XPDF I would want to use ggv?

It depends a little bit on from where you want to open the document
(there's never a straight answer in Linux, is there? :-).

From the command line it's easy, just run ggv instead of xpdf.

Your mail client might use mailcap in which case 'man mailcap' will tell
you how to accomplish it. I have the following line in my ~/.mailcap to
get mutt (the only mail client for me) to open pdf files with evince:

 application/pdf; /usr/bin/evince '%s'; test=test "$DISPLAY" != ""; \
         description=Portable Document Format; nametemplate=%s.pdf

If you want to change the default application in Nautilus (file explorer
in GNOME) you can do so by opening the properties for a file and go to
the tab "Open with".

Hope it helps.

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://magnus.therning.org/

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Linear improvements in compute power can't stand up to exponential
improvements in difficulty.
      -- Anonymous
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050510/f7f6c101/attachment.sig>


More information about the ubuntu-users mailing list