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

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


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).



Pablo Hoertner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <>

More information about the Xfce mailing list