Bug 580835 - xdg-open does not support LXDE
Summary: xdg-open does not support LXDE
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xdg-utils
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: LXDE
TreeView+ depends on / blocked
 
Reported: 2010-04-09 08:05 UTC by Martin Tarenskeen
Modified: 2010-11-02 22:17 UTC (History)
3 users (show)

Fixed In Version: xdg-utils-1.0.2-21.20101028.fc14
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-02 22:17:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 26058 0 None None None Never

Description Martin Tarenskeen 2010-04-09 08:05:48 UTC
Description of problem:
xdg-open does not work with LXDE desktop

Version-Release number of selected component (if applicable):
xdg-utils-1.0.2-16.20091217cvs.fc12.noarch

How reproducible:
always

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.
  
Actual results:
My standard browser opens, which in turn opens my standard picture viewer

Expected results:
My standard picture viewer should start directly, without the help of my webbrowser.

Additional info:
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.

Comment 1 Rex Dieter 2010-04-09 19:49:13 UTC
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.

Comment 2 Christoph Wickert 2010-04-09 20:12:47 UTC
(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.

Comment 3 Christoph Wickert 2010-04-09 23:12:24 UTC
Works for me after installing perl-File-MimeInfo. Should we make xdg-utils depend on it?

Comment 4 Christoph Wickert 2010-10-28 19:56:23 UTC
upstream bug report with patches: 
https://bugs.freedesktop.org/show_bug.cgi?id=26058

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.

Comment 5 Rex Dieter 2010-10-28 20:48:30 UTC
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).

Comment 6 Rex Dieter 2010-10-28 20:59:25 UTC
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.

Comment 7 Christoph Wickert 2010-10-28 21:26:50 UTC
(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.

Comment 8 Christoph Wickert 2010-10-28 21:59:30 UTC
Seems to work fine, opening pcmanfm from xdg-open works

Comment 9 Fedora Update System 2010-10-29 00:44:17 UTC
xdg-utils-1.0.2-21.20101028.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/xdg-utils-1.0.2-21.20101028.fc14

Comment 10 Fedora Update System 2010-10-29 20:40:44 UTC
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

Comment 11 Fedora Update System 2010-11-02 22:17:33 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.