Package: xdg-utils Version: 1.1.0~rc1+git20111210-7 Severity: normal I am not yet sure if this is a bug in xdg-utils, or in desktop-file-utils. But, clearly there is some dissonance here.
Reading the freedesktop docs, one is lead to believe that dropping a .desktop file in /usr/share/applications with the correct MimeType, and then running update-desktop-database should be enough for xdg-mime and xdg-open to use that association. But it turns out that xdg-mime is only reading from a non-existant /usr/share/applications/defaults.list, which does not seem to be owned by any Debian package, instead of the mimeapps.list file created by update-desktop-database. The documentation about all this is very thin, but I could find an Arch Linux wikipage, which describes the defaults.list format as deprecated in favor of mimeapps.list: https://wiki.archlinux.org/index.php/Default_applications#Using_MIME_types_and_desktop_entries -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (50, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash xdg-utils depends on no packages. Versions of packages xdg-utils recommends: pn libfile-mimeinfo-perl <none> pn libnet-dbus-perl <none> pn libx11-protocol-perl <none> ii x11-utils 7.7+1 ii x11-xserver-utils 7.7+2 Versions of packages xdg-utils suggests: ii gvfs-bin 1.16.3-2 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org