[Portland-bugs] [Bug 92312] xdg-open only open images and links in browser in "generic"
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Oct 6 05:24:43 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=92312
Per Olofsson <pelle at debian.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |NOTABUG
--- Comment #5 from Per Olofsson <pelle at debian.org> ---
(In reply to Ivan Tham from comment #4)
> Sorry, that works, what I mean is:
>
> xdg-open http://overthewire.org/img/domokitten.png
>
> Is that out of topic?
>
> Here is the log: http://ix.io/ldV
Unfortunately that is difficult to accomplish within xdg-utils itself in a
secure manner. Not even GNOME does it.
One solution could be if you install KDE (or at least kde-runtime) and set
XDG_CURRENT_SESSION=KDE. Then xdg-open will use kde-open which seems to do what
you want. The following command opens the image in eog for me:
XDG_CURRENT_DESKTOP=KDE xdg-open http://overthewire.org/img/domokitten.png
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20151006/d3d289e2/attachment.html>
More information about the Portland-bugs
mailing list