Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 289374

Summary: x11-misc/xdg-utils: xdg-mime cannot query file types outside of Gnome or KDE
Product: Gentoo Linux Reporter: Ravi Pinjala <ravi>
Component: [OLD] UnspecifiedAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xdg-mime.patch

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