xdg-mime query filetype does not work on KDE 5 (Fixed in Portland)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdg-utils (Ubuntu) |
Fix Released
|
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) |
Status changed to 'Confirmed' because the bug affects multiple users.