[Bug 35997] Re: Gnome's Places menu starts Konqueror instead of Nautilus

Sebastien Bacher seb128 at ubuntu.com
Sat May 27 10:40:15 UTC 2006


To reply to the upstream comment, directory is not a special type. Setting a default mimetype doesn't require playing with a different type, that's basically how apps for a mimetype work:
- the .desktop lists the mimetype to MimeType=
- update-desktop-database makes a list "Mimetype:<list of apps opening it>" to /usr/share/applications/mimeinfo.cache
- when trying to open <mimetype> one handler from that list is picked, if no default is set nautilus picks the first using the reversed alphabetical order
- you can set a default to /usr/share/applications/defaults.list for GNOME by example
- user can set a custom default with an user defaults.list

That works for any mimetype. A directory is from "x-directory/normal"
type, setting a default is only usin "x-directory/normal=app.desktop" to
the defaults.list, no need to play with a non-mimetype for that

-- 
Gnome's Places menu starts Konqueror instead of Nautilus
https://launchpad.net/bugs/35997




More information about the desktop-bugs mailing list