Bug 103146

Summary: xdg-open on lxqt uses not existent pcmanfm command
Product: Portland Reporter: Vjacheslav <galdralag>
Component: xdg-utilsAssignee: Portland Bugs <portland-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium CC: alex3kov, dglent
Version: unspecified   
Hardware: All   
OS: All   
URL: https://github.com/lxde/lxqt/issues/1298
Whiteboard:
i915 platform: i915 features:

Description Vjacheslav 2017-10-08 10:38:38 UTC
In xdg-open script function open_lxde() runs pcmanfm.
open_lxde() called for lxde and lxqt.
In lxqt pcmanfm does not exists, but exists pcmanfm-qt.
Comment 1 Aleksei 2017-10-22 07:36:08 UTC
Here's how this looks like in practice, with full LXQt installed:

[username@arch ~]$ xdg-mime query filetype f.png 
image/png
[username@arch ~]$ xdg-mime query default image/png
viewnior.desktop
[username@arch ~]$ xdg-open f.png 
/usr/bin/xdg-open: line 922: pcmanfm: command not found
[username@arch ~]$ env |grep DE
XKB_DEFAULT_LAYOUT=en
DESKTOP_SESSION=/usr/share/xsessions/lxqt
XDG_SESSION_DESKTOP=
XDG_CURRENT_DESKTOP=LXQt
[username@arch ~]$
Comment 2 Rex Dieter 2017-10-22 18:14:10 UTC
Started here,
https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=6387086e4938d568c2bab185632f60e1619b3f68

to treat lxqt and lxde equivalently.  Probably not 100% wise in hindsight.
Comment 3 yan12125 2017-11-11 18:38:26 UTC
There's a patch for this problem at https://bugs.freedesktop.org/show_bug.cgi?id=81674, yet I don't think it's a correct fix. LXQt can be easily installed and run without pcmanfm-qt, and you can use another file manager (dolphin, etc.) in LXQt as the default. More discussions are in https://github.com/lxde/lxqt/issues/1298.

PS. I'm a developer in the LXQt team.
Comment 4 Alf Gaida 2018-01-22 21:19:22 UTC
Right now this is our preferred solution after discussing this issue for a while
> https://bugs.freedesktop.org/show_bug.cgi?id=81674
Comment 5 Alf Gaida 2018-02-11 12:16:58 UTC
Bump: Is it really that hard to merge a fix? Thank you for letting this broken for all distributions.
Comment 6 Alf Gaida 2018-02-26 16:52:41 UTC
BUMP - is it really that hard to fix an self introduced bug or is it faster that $upstream rename their "false" named binaries???
Comment 7 Rex Dieter 2018-02-27 21:59:07 UTC

*** This bug has been marked as a duplicate of bug 81674 ***

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.