desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #135694
[Bug 1454833] Re: xdg-mime query filetype does not work on KDE 5 (Fixed in Portland)
** Branch linked: lp:ubuntu/wily-proposed/xdg-utils
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1454833
Title:
xdg-mime query filetype does not work on KDE 5 (Fixed in Portland)
Status in xdg-utils package in Ubuntu:
Confirmed
Bug description:
System information:
cat /etc/lsb-release:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.04
DISTRIB_CODENAME=vivid
DISTRIB_DESCRIPTION="Ubuntu 15.04"
apt-cache policy xdg-utils:
xdg-utils:
Installed: 1.1.0~rc1-2ubuntu10
Candidate: 1.1.0~rc1-2ubuntu10
Version table:
*** 1.1.0~rc1-2ubuntu10 0
500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
100 /var/lib/dpkg/status
Expected behavior:
The command "xdg-mime query filetype $FILENAME" returns the MIME type
of the specified file.
Actual behavior under KDE 5:
No output to stdout. If the specified file is executable, it is
executed, e.g. "xdg-mime query filetype /usr/bin/xclipboard" executes
the program xclipboard.
Source of error:
The xdg-mime script checks in the function "info_kde()" only for KDE
version being 3 or 4. The new Kubuntu release bundles KDE 5 which is
not checked against.
This bug is fixed in the Portland repository:
http://cgit.freedesktop.org/xdg/xdg-
utils/commit/?id=18645a50fe25064b42ba421e231869c6063705f7
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/1454833/+subscriptions
References