Bug 845583 - enable auto support for 256 colors
Summary: enable auto support for 256 colors
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kde-settings
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-03 13:58 UTC by Pádraig Brady
Modified: 2016-01-04 14:47 UTC (History)
7 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2012-11-08 18:34:58 UTC


Attachments (Terms of Use)

Description Pádraig Brady 2012-08-03 13:58:48 UTC
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.

Comment 1 Pádraig Brady 2012-08-03 14:03:27 UTC
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

Comment 2 Rex Dieter 2012-08-03 14:11:49 UTC
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

Comment 3 Rex Dieter 2012-11-08 18:34:58 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.