Default Program | File Association
alexl at redhat.com
Fri Jan 25 04:10:37 PST 2008
On Fri, 2008-01-25 at 11:21 +0100, David Faure wrote:
> After discussion with Alexander on IRC we came to the following adjustement:
> * being able to add an application to a mimetype in defaults.list even if the application
> .desktop file does not mention this mimetype. This removes the need for making local
> copies of desktop files.
> * being able to remove associations, in the defaults.list file, using a separate group like this:
> [Removed Associations]
> This way the app-mime association list is fully editable (you can add and remove),
> and no duplication of system settings is done (so if the sysadmin updates his higher-level
> defaults.list you'll still get those changes, except for the associations that have been
> explicitely removed this way).
I've just implemented this in glib svn. It works very nicely.
However there is one small issue. If you add an association (as opposed
to setting the default) via the users defaults.list that will
automatically override the default in the system defaults.list. It can
be worked around by copying the list from the system defaults.list into
the user defaults.list when doing this operation, but thats suboptimal,
as it means the user won't see order changes happening in the system
More information about the xdg