xdg-mime query default image/png returns empty results

Bug #674613 reported by kenorb
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xdg-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: xdg-utils

> pkg_info -W xdg-mime
/usr/local/bin/xdg-mime was installed by package xdg-utils-1.0.2_5
> xdg-mime query default image/png
(empty)

shell xtrace available here: http://pastebin.com/trn7W9wr

Basically defaults.list doesn't exists, but mime image/png is associated with wine in following files:
> ls /usr/home/kenorb/.local/share/applications
mimeapps.list userapp-gvim-UNYALV.desktop wine-extension-htm.desktop wine-extension-jpeg.desktop wine-extension-txt.desktop
mimeinfo.cache wine wine-extension-html.desktop wine-extension-jpg.desktop wine-extension-wri.desktop
userapp-eog-1WCKLV.desktop wine-extension-chm.desktop wine-extension-ini.desktop wine-extension-png.desktop wine-extension-xml.desktop
userapp-eog-GBXWLV.desktop wine-extension-gif.desktop wine-extension-jfif.desktop wine-extension-rtf.desktop
userapp-eog-WCYNLV.desktop wine-extension-hlp.desktop wine-extension-jpe.desktop wine-extension-skype.desktop

wine-extension-png.desktop

See kdump from gnome-open:
http://forums.freebsd.org/showthread.php?p=109872#post109872

Revision history for this message
ArShAm (arshamshirvani) wrote :

Having the same issue with application/x-cd-image
Even though it has been assigned to /usr/share/applications/kde4/k3b.desktop but xdg-mime fails to report it

Revision history for this message
kenorb (kenorb) wrote :

Tested on Ubuntu 12.04, it returns gwenview.desktop now.

$ xdg-mime query default image/png
gwenview.desktop

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.