xdg-mime query default image/png returns empty results

Bug #674613 reported by kenorb on 2010-11-12
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xdg-utils (Ubuntu)

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

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


See kdump from gnome-open:

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

kenorb (kenorb) wrote :

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

$ xdg-mime query default image/png

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

Other bug subscribers