how to make emacs (rather than mousepad) the default editor in xfce

Pablo Hoertner pablo at redtux.org
Tue Jul 8 23:38:00 CEST 2008


hi!

there are at least two ways to change the default editor under XFCE.


1. the X11 way:

open thunar (the file manager) -> right click on a text-file ->
properties -> Open with -> choose your prefered app (e.g. emacs)


2. the *NIX way:

edit the following file: /etc/xdg/xubuntu/applications/defaults.list

also, consider having a look at /usr/share/mime/ - if you don't want
to change settings system-wide you may put your config at
~/.local/share/mime/ resp. /.local/share/applications/defaults.list

i only have experience with debian and ubuntu, but i guess that the
path should be the same everywhere (although i wouldn't bet on it).


HTH!

HAND,
pablo

-- 
Pablo Hoertner
http://redtux.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20080708/ac5aef63/attachment.pgp>


More information about the Xfce mailing list