xdg-mime query filetype does not work on KDE 5 (Fixed in Portland)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| xdg-utils (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
System information:
cat /etc/lsb-release:
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
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://
100 /var/lib/
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/
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://
Related branches
summary: |
- xdg-mime does not work on KDE 5 (Fixed in Portland) + xdg-mime query filetype does not work on KDE 5 (Fixed in Portland) |
Launchpad Janitor (janitor) wrote : | #2 |
This bug was fixed in the package xdg-utils - 1.1.0~rc3+
---------------
xdg-utils (1.1.0~
* Merge from Debian unstable. Remaining changes: (LP: #1495273)
- debian/patches:
* gnome-3.0.diff: Correctly open preferred browser with
gnome-open (LP: #670128)
* lp779156-
for improved LXDE and sylpheed support (LP: #779156)
* xdg-screensaver
screensaver timeout when xdg-screensaver resume is used (LP: #1363540)
* New upstream release fixes the following bugs:
- xdg-mime query filetype does not work on KDE 5 (LP: #1454833)
- xdg-open doesn't properly detect Xfce/Xubuntu (LP: #1388922)
- xserver-blanking patch in Ubuntu duplicates code (LP: #1330386)
- Typo in manpage of 'xdg-icon-resource' (LP: #996304)
- xdg-open (to gnome-open) fails to launch file:// URL with query string
(LP: #396162)
-- Sean Davis <email address hidden> Sun, 13 Sep 2015 12:39:10 -0400
Changed in xdg-utils (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.