Description of problem:
After upgrading to Fedora 27, I'm no longer able to open files in their associated applications.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
0. open configuration center, go to file associations, find pdf, verify that it is associated to qpdfview
1. click a link to file in a browser (I use qupzilla), choose to open
2. 'execute' the file in mc
3. xdg-open 201706261647573300.pdf
1. nothing visible happens
2. /usr/libexec/mc/ext.d/doc.sh: line 106: xpdf: command not found
3. /usr/bin/xdg-open: line 922: pcmanfm: command not found
the file is opened in qpdfview in all the cases
note that I use LXQt, if that matters
I'm using pdf as example but the problem is with all mimetypes
Looks like xdg-open expects pcmanfm to be present on lxqt
Do you know what the default/preferred file manager is on lxqt these days?
I guess while we're at it, can you post output from:
echo $DESKTOP SESSION
(In reply to Rex Dieter from comment #1)
> Do you know what the default/preferred file manager is on lxqt these days?
not sure what is preferred, but I have pcmanfm-qt installed ...
however, while pcmanfm-qt is able to pass the file to qpdfview, I don't understand why the mimeinfo association is not used directly - pcmanfm-qt is not a hard dependency, uninstalling it would then lead to the same situation
(In reply to Rex Dieter from comment #2)
> echo $XDG_CURRENT_DESKTOP
> echo $DESKTOP SESSION
$ echo $XDG_CURRENT_DESKTOP
$ echo $DESKTOP_SESSION
Another sample of failing xdg-open is reproducibe within trojita. I tries a bunch of options for possible browsers but qupzilla is missing in that list.
Workaround: xdg-settings set default-web-browser org.qupzilla.QupZilla.desktop
Is the odd name for the desktop file intentional?
IMHO this bug should be tracked by the LXQt SIG.
Yes, the naming convention is intentional, blame AppStream for introducing it. (AppStream application names use that format, they recommend that the AppData file name matches the AppStream name, and the .desktop file name must match the AppData file name.)
QupZilla upstream changed from qupzilla.desktop to org.qupzilla.QupZilla.desktop in 2.2.
xdg-utils-1.1.2-4.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c585d8cf91
xdg-utils-1.1.2-4.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c585d8cf91
xdg-utils-1.1.2-4.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.