[Portland-bugs] [Bug 44359] New: On desktops without xterm, xdg-terminal's fallback for TERM="" simply fails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Dec 31 17:45:37 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=44359
Bug #: 44359
Summary: On desktops without xterm, xdg-terminal's fallback for
TERM="" simply fails
Classification: Unclassified
Product: Portland
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
AssignedTo: portland-bugs at lists.freedesktop.org
ReportedBy: freedesktop.zen.ssokolow at spamgourmet.com
Created attachment 55013
--> https://bugs.freedesktop.org/attachment.cgi?id=55013
Patch for more robust fallback behaviour (apply after patches for bugs 44357
and 44358)
Some distros (eg. Lubuntu) don't install xterm by default. Furthermore, some
users may prefer urxvt (rxvt-unicode) to xterm.
The current git HEAD (b961235b197647d6649ef3d48d7cc2cecafe3d47) for
xdg-terminal.in simply fails under these circumstances.
I'm not sure what the best solution would be in this case but, for my tool
which needed a working xdg-terminal right now, I borrowed the colon-separated
list $BROWSER code from xdg-open.
I'm attaching a patch in case it's of use. It depends on my patches for bug
44357 and bug 44358 but, if there's interest, I can rework it to apply against
whatever you prefer.
The behaviour I chose was to prefer urxvt over rxvt and rxvt over xterm on the
assumption that, while xterm is often installed by default, rxvt and
rxvt-unicode being present generally indicates an explicit preference for them
on the user's part.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Portland-bugs
mailing list