Summary: | 'xdg-mime query default' return multiple .desktop entries. | ||
---|---|---|---|
Product: | Portland | Reporter: | Alex Sokoloff <sokoloff.a> |
Component: | xdg-utils | Assignee: | Portland Bugs <portland-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | high | CC: | lionel.orry |
Version: | unspecified | Keywords: | patch |
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Patch to fix the multiple desktop files report by xdg-mime |
Description
Alex Sokoloff
2013-02-05 16:39:11 UTC
This issue was blocking for me on Fedora 20. I had the entry 'application/pdf=evince.desktop' in both defaults.list and mimeinfo.cache, and running xdg-mime query default application/pdf returned evince.desktop evince.desktop The line above would not be parsed properly by xdg-open and the pdf files were opened by the fallback browser. An attached patch fixes the problem. Please consider it. Created attachment 104545 [details] [review] Patch to fix the multiple desktop files report by xdg-mime Thanks! http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=e04f8065335e391f47b04513d395e02a7f13d56e Awesome ! Thanks a lot for applying. Cheers Lionel |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.