Red Hat Bugzilla – Bug 580835
xdg-open does not support LXDE
Last modified: 2010-11-02 18:17:37 EDT
Description of problem:
xdg-open does not work with LXDE desktop
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install and use LXDE desktop
2. run xdg-open foo.png (replace "foo.png" by any existing picture in your current directory)
3. this is just one of many possible examples.
My standard browser opens, which in turn opens my standard picture viewer
My standard picture viewer should start directly, without the help of my webbrowser.
I managed to work around this problem by manually editing the /usr/bin/xdg-open script. But I'm sure you can do better.
LXDE has become one of the most popular desktops. I think the Fedora-LXDE Live CD spin is number 2 on the list of most popular Fedora Live CD downloads. Therefore xdg should support LXDE out-of-the-box.
Does lxde provide any utilities for opening files or querying mime-types?
This will likely require work by someone who knows more about lxde than I to impliment. lemme see who I can poke.
(In reply to comment #1)
> Does lxde provide any utilities for opening files or querying mime-types?
Nope. xdg-open should however fall back to the generic handler, but usually mimeopen (from perl-File-MimeInfo) is not installed.
I will look into this and speak with LXDE upstream.
Works for me after installing perl-File-MimeInfo. Should we make xdg-utils depend on it?
upstream bug report with patches:
I spoke to Vincent Untz and it looks like xdg-utils is unmaintained. He agreed that someone from the LXDE community an take it over in the longer run.
Hint: xdg-utils *is* maintained, and I'm one of it's upstream maintainers. More help is always welcome. :)
(I've been pushing for a new release, it's been a *very* long time... I guess if I want it, I'll have to not wait for others to do it and help more to make it happen).
patch upstreamed, included in new rawhide build, xdg-utils-1.0.2-21 , mind trying it out?
I can do updates once we sanity test this a bit.
(In reply to comment #5)
> Hint: xdg-utils *is* maintained, and I'm one of it's upstream maintainers.
Sorry, I didn't want to treat on your toes I just relied on what Vincent told me last week and the last time I looked, the last commit was 3 years ago.
(In reply to comment #6)
> patch upstreamed, included in new rawhide build, xdg-utils-1.0.2-21 , mind
> trying it out?
Thanks for committing the patches, I will test the new package ASAP.
Seems to work fine, opening pcmanfm from xdg-open works
xdg-utils-1.0.2-21.20101028.fc14 has been submitted as an update for Fedora 14.
xdg-utils-1.0.2-21.20101028.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update xdg-utils'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/xdg-utils-1.0.2-21.20101028.fc14
xdg-utils-1.0.2-21.20101028.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.