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

Bug 303423

Summary: x11-misc/shared-mime-info does not provide defaults.list
Product: Gentoo Linux Reporter: Bignaux Ronan <ronan>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=926410
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the /usr/share/applications/defaults.list from shared-mime-info fedora rpm

Description Bignaux Ronan 2010-02-04 07:00:55 UTC
Unlike other distribution, shared-mime-info on gentoo doesnt' provide a /usr/share/applications/defaults.list so xdg-mime could not work. I donno yet how to deal with that.

$ export XDG_UTILS_DEBUG_LEVEL=4
$ xdg-mime query default text/mathml
Checking /home/genesis/.local/share//applications/defaults.list
Checking /usr/local/share/applications/defaults.list
Checking /usr/share/applications/defaults.list
Checking /usr/share/gdm/applications/defaults.list

no one of this file are created. Provide a defaults.list or generated it at installation time will make xdg working.

http://bugs.gentoo.org/show_bug.cgi?id=289374 patch doesn't solve the problem since it's not the xdg-utils that should provide the file.But it can be considered as a related bug. I wonder what do the freedesktop team here think about that.

Reproducible: Always
Comment 1 Bignaux Ronan 2010-02-04 19:19:41 UTC
Created attachment 218429 [details]
the /usr/share/applications/defaults.list from shared-mime-info fedora rpm

add this solve the "bug"
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-02-09 08:48:47 UTC
And how do you suggest we deal with different desktops ? shared-mime-info is a freedesktop project and should not assume a default that is specific to one desktop or another, it wouldn't be fair.
Comment 3 Bignaux Ronan 2010-02-09 09:19:49 UTC
Perharps we can rename this defaults.list to gnome-defaults.list and write a EWARN message to inform administrator to link/rename it to /usr/share/applications/defaults.list or in the right XDG place of its users. Ideas are welcome !
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-04-23 12:19:09 UTC
no