Red Hat Bugzilla – Bug 429280
xdg-open doesn't open URLs
Last modified: 2008-01-22 10:54:15 EST
Description of problem:
In generic DE (i.e no KDE, GNOME, XFCE), xdg-open doesn't open URLs when the
mimeopen utility is installed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install perl-File-MimeInfo package
2. start plain X session
3. xdg-open 'http://fedoraproject.org/'
Could not determine mimetype for file: http://fedoraproject.org/
The web page opened in a browser.
Try this patch (to /usr/bin/xdg-open):
--- xdg-open.mimeopen 2008-01-18 08:39:40.000000000 -0600
+++ xdg-open 2008-01-18 08:38:10.000000000 -0600
@@ -364,8 +364,8 @@
mimeopen -n "$1"
if [ $? -eq 0 ]; then
With the patch it works as expected. Thanks.
* Fri Jan 18 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.2-3
- fix mimeopen support (#429280)
This looks good. If no application is found or the application
doesn't understand urls and exits (I tested with xpdf) the browser
We have plans (with the mimeopen maintainer) to add support
for urls, by adding a Protocol entry in the desktop files to
have applications register which url protocol they understand,
and I submitted it to the xdg mailing list but so far there
hasn't been many feedback.
Patrice, thx, fyi, I've pushed the mimeinfo patch/changes (as-is now anyway)
Patrice, any links/references to the aforementioned submission(s) to the xdg list?
This is my proposal
And Jaap mail
xdg-utils-1.0.2-3.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
xdg-utils-1.0.2-3.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.