[Portland-bugs] [Bug 92514] xdg-open does not spawn terminal for Terminal=true

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 19 07:00:57 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92514

--- Comment #3 from Thomas Gläßle <t_glaessle at gmx.de> ---
> We should probably start installing xdg-terminal then and use it from xdg-open when Terminal=true.

I didn't know about xdg-terminal. Using a dedicated tool like this makes
probably more sense than the ad-hoc hack I included above.

However, I noticed two main drawbacks in the `terminal_generic` implementation
that currently render the tool useless in the absence of a desktop-environment
(which is the only case where the tool would be invoked by xdg-open):

1. the $TERM variable does not necessarily correspond to a binary on the system

    - Using urxvt, the variable is set to 'rxvt-unicode-256color'
    - Using terminator, the variable is set to 'xterm' by default, but I
      usually change it to 'xterm-256color', because that worked better in
      some circumstances (don't remember what exactly)

2. there is no way to use arbitrary terminals. E.g. terminator uses `-x`
instead of `-e`


> I'd like to encourage use of [...] gvfs-open/kde-open(5)...

xdg-open already uses these commands in the presence of a desktop environment.
Do you suggest to use and require either of these tools even for systems
without desktop environment?

-- 
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/20151019/f6e267aa/attachment.html>


More information about the Portland-bugs mailing list