Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289374 - x11-misc/xdg-utils: xdg-mime cannot query file types outside of Gnome or KDE
Summary: x11-misc/xdg-utils: xdg-mime cannot query file types outside of Gnome or KDE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-16 19:10 UTC by Ravi Pinjala
Modified: 2010-06-18 09:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
xdg-mime.patch (xdg-mime.patch,259 bytes, patch)
2009-10-16 19:11 UTC, Ravi Pinjala
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ravi Pinjala 2009-10-16 19:10:31 UTC
xdg-mime can look up the MIME type of a file, but this only works in KDE or Gnome, since the generic path is broken.

This issue is known and fixed upstream[1], but since upstream is somewhat dormant[2], it might be worthwhile to fix this in current xdg-utils versions in the tree, especially since the fix is a one-line patch.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=11383
[2] http://lists.freedesktop.org/archives/portland/2009-July/001091.html
Comment 1 Ravi Pinjala 2009-10-16 19:11:23 UTC
Created attachment 207354 [details, diff]
xdg-mime.patch

Patch to the xdg-mime script
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-06-18 09:24:36 UTC
fixed by xdg-utils-1.0.2_p20100618