implementation of per-environment MIME defaults

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


Hallo.

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.
https://bugs.freedesktop.org/show_bug.cgi?id=30214

GIO gdesktopappinfo.c will implement loading different resources on
different desktops, which will allow to use gnome-defaults.list and
kde-defaults.list.
https://bugzilla.gnome.org/show_bug.cgi?id=630171

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 suse.cz
Lihovarská 1060/12           tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9                                  fax: +420 284 028 951
Czech Republic                                    http://www.suse.cz/



More information about the xdg mailing list