[Bug 1548032] Re: Set Konsole's TERM variable to xterm-256color by default

Bug Watch Updater 1548032 at bugs.launchpad.net
Sat Oct 28 06:37:24 UTC 2017


Launchpad has imported 4 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=845583.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-08-03T13:58:48+00:00 Pádraig wrote:

This is for https://fedoraproject.org/wiki/Features/256_Color_Terminals
There is a central script for that feature that is used to enable 256 colors
by adjusting the TERM variable.
However to do that safely it must know the terminal can support this.
The preferred method is to check the $COLORTERM env variable
that many terminals set.
I suggest setting it COLORTERM to 'konsole'

I tested setting that variable manually, from the preferences menu,
where there is an option to add environment variables.
All worked as expected. Note when setting manually (per user) the file:
  ~/.kde/share/apps/konsole/Shell.profile file
is updated with:
  Environment=COLORTERM=konsole,TERM=xterm

thanks,
Pádraig.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/konsole/+bug/1548032/comments/0

------------------------------------------------------------------------
On 2012-08-03T14:03:27+00:00 Pádraig wrote:

Actually I just noticed a variable I could key on

  KONSOLE_DBUS_SESSION

Not as nice or standard as COLORTERM though.
If setting a default COLORTERM is awkward though,
I can use KONSOLE_DBUS_SESSION

Reply at:
https://bugs.launchpad.net/ubuntu/+source/konsole/+bug/1548032/comments/1

------------------------------------------------------------------------
On 2012-08-03T14:11:49+00:00 Rex wrote:

seems it sets 3:
KONSOLE_DBUS_SERVICE=
KONSOLE_DBUS_SESSION=
KONSOLE_PROFILE_NAME=

but yeah, I'm pretty sure we can do the COLORTERM thing

Reply at:
https://bugs.launchpad.net/ubuntu/+source/konsole/+bug/1548032/comments/2

------------------------------------------------------------------------
On 2012-11-08T18:34:58+00:00 Rex wrote:

Looking closer, I think I'd feel better if you did use one of the
KONSOLE_ environment variables after all.

doing otherwise may give a negative impact for kde users who don't use
konsole.

I'm going to mark this WONTFIX here in kde-settings, but...
If that's not acceptable to you, please do feel free to re-open.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/konsole/+bug/1548032/comments/3


** Changed in: kde-baseapps
       Status: Unknown => Won't Fix

** Changed in: kde-baseapps
   Importance: Unknown => Undecided

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to konsole in Ubuntu.
https://bugs.launchpad.net/bugs/1548032

Title:
  Set Konsole's TERM variable to xterm-256color by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-baseapps/+bug/1548032/+subscriptions




More information about the kubuntu-bugs mailing list