Description of problem: xdg-open /path/to/foo.pdf on i3 with xdg-open configured to use okular to open PDF documents calls /usr/bin/okular '/path/to/foo.pdf --icon okular -caption Okular' instead of /usr/bin/okular /path/to/foo.pdf --icon okular -caption Okular Version-Release number of selected component (if applicable): xdg-utils-1.1.0-0.35.rc3.fc21 Additional info: This is probably a regression of the fix of the command injection. Btw. would it be ok to re-implement xdg-open it in python? Shell does not really seem to be the proper language for this.
I regret allowing in those generic methods, one *really* should just depend on gvfs-open (or kde-open) instead. In the meantime, I'll try to find some time to revisit fixing argument passing. And no, python isn't a viable option (not in any foreseable future)
this should get fixed working on upstream, https://bugs.freedesktop.org/show_bug.cgi?id=89130
xdg-utils-1.1.0-0.37.rc3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/xdg-utils-1.1.0-0.37.rc3.fc21
Package xdg-utils-1.1.0-0.38.rc3.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing xdg-utils-1.1.0-0.38.rc3.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-2401/xdg-utils-1.1.0-0.38.rc3.fc21 then log in and leave karma (feedback).
xdg-utils-1.1.0-0.38.rc3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.