implementation of per-environment MIME defaults

Stanislav Brabec sbrabec at
Mon Sep 20 08:30:02 PDT 2010


Per-environment MIME defaults were mentioned several times in this list.

I did a step forward and finished an implementation for GIO and
desktop-file-utils. It makes possible to use per environment
defaults.list. KDE and GNOME users can get different defaults of the
same application and on the same system.

It will make behavior of GIO based application more consistent with the
running desktop in GNOME, KDE and others.

It consists of two changes:

desktop-file-utils update-desktop-database will contains a smart
heuristics that would allow to easily define environment specific
defaults.list. The configuration file is simple and short.

GIO gdesktopappinfo.c will implement loading different resources on
different desktops, which will allow to use gnome-defaults.list and

Feel free to comment the algorithm and configuration files.

Best Regards / S pozdravem,

Stanislav Brabec
software developer
SUSE LINUX, s. r. o.                          e-mail: sbrabec at
Lihovarská 1060/12           tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9                                  fax: +420 284 028 951
Czech Republic                          

More information about the xdg mailing list