smart and desktop environment specific MIME defaults
Keith Poole
platima at gmail.com
Thu Feb 10 05:39:54 PST 2011
Nice work
-K
On Thu, Feb 10, 2011 at 9:33 PM, Stanislav Brabec <sbrabec at suse.cz> wrote:
> Hallo.
>
> I have been working on an implementation of smart utilities for
> maintenance of MIME defaults in glib (gtk+, GNOME) and
> desktop-file-utils that may make defaults desktop specific.
>
> The implementation is capable:
> - Parse all desktop files and inspect Categories and MimeType keywords.
> - Automatically maintain defaults list for all MIME types using a simple
> configuration file and simple heuristic.
> - Use different defaults for the same MIME type and the same application
> started from the different environment (i. e. nautilus in GNOME will
> use file-roller for ZIP archives, but when started from KDE, it will
> use ark).
>
> It helps to maintain complete and correct defaults.list and improves
> behavior of systems with more than one desktop environment installed.
>
> The implementation is available here:
> Sources:
> https://bugs.freedesktop.org/show_bug.cgi?id=30214
> https://bugzilla.gnome.org/show_bug.cgi?id=630171
> Binaries (openSUSE, Fedora):
>
> https://build.opensuse.org/project/show?package=&project=home%3Asbrabec%3Amime-defaults
> (for glib, just libgio replacement is sufficient)
>
> Note that you have to set environment variable DESKTOP_SESSION in the
> particular session init script. (See the discussion in the bug.)
>
> Comments are welcome.
> --
> Best Regards / S pozdravem,
>
> Stanislav Brabec
> software developer
> ---------------------------------------------------------------------
> SUSE LINUX, s. r. o. e-mail: sbrabec at suse.cz
> Lihovarská 1060/12 tel: +49 911 7405384547
> 190 00 Praha 9 fax: +420 284 028 951
> Czech Republic http://www.suse.cz/
>
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xdg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20110210/029f8774/attachment.htm>
More information about the xdg
mailing list