Default applications

Erik Harrison erikharrison at
Fri Aug 24 22:23:16 CEST 2007

On 8/24/07, Steve Cayford <cayfo001 at> wrote:
> Hello, I'm running a Xubuntu 7.04 (Feisty) system.
> When a user right-clicks or double-clicks on a file icon, what controls the
> preferred application that gets listed in the context menu? (eg. Open with...)
> I know I can change it under the file "properties" and the setting will then
> show up in ~/.local/share/applications/defaults.list. However, I would like to
> set the initial default so users don't need to mess with this when they first
> login. Specifically, double-clicking a text file opens it with emacs by
> default, which is a bit technical for my new users.
> It seems that this should be controlled by
> /etc/xdg/xubuntu/applications/defaults.list, but there is no entry in there
> specifying emacs. In fact the entry for text/plain is mousepad.desktop.

Not sure exactly what you are seeing, as it works for me here, same
distro and all.

Did you check the local defaults.list file, to make sure that it
wasn't altered to open Emacs? Is this a completely fresh user on the

> Thanks for any suggestions.
> -Steve
> _______________________________________________
> Xfce mailing list
> Xfce at

"If you want to go somewhere, goto is the best way to get there." - Ken Thompson

More information about the Xfce mailing list