Help for a bug with mime types

Nicoleau Fabien nicoleau.fabien at gmail.com
Wed Sep 2 17:18:17 UTC 2009


Hi, 
I recently had a bug open for phatch which I maintain :
https://bugzilla.redhat.com/show_bug.cgi?id=520680

It seems that my package use a mime type that is normaly used by
nautilus. I tried different solutions :
- adding theses two lines in /usr/share/applications/defaults.list :
        x-directory/gnome-default-handler=gnome-nautilus-folder-handler.desktop
        x-directory/normal=gnome-nautilus-folder-handler.desktop

- add them in my ~/.local/usr/share/applications/defaults.list

- remove inode/directory; from MimeType key in phatch.desktop/

Of course the last one worked, but I'd like to know if there is a
better way to don't make a package that uses a mimetype used by
nautilus being launched instead of nautilus. 

Regards,

Nicoleau Fabien




More information about the devel mailing list