Bug ID 1188862
Summary hardcoded COLORTERM=1
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee werner@suse.com
Reporter lnussel@suse.com
QA Contact qa-bugs@suse.de
CC meissner@suse.com
Found By ---
Blocker ---

playing with notcurses () I noticed that we hardcode COLORTERM=1 in
/etc/profile.

According to
https://github.com/dankamongmen/notcurses/blob/master/TERMINALS.md#the-colorterm-environment-variable
it should be set to "24bit" if the terminal supports it, alternatively the
terminfo should have rgb capability.

Just did a quick test with the terminal applications we have in kde and xfce
and they seem to override the setting and actually set COLORTERM=truecolor.

Teaching ssh to relay that setting it would always be reset to 1 via
/etc/profile.

You can see the effect by installing notcurses-demos and running
"notcurses-demo i" with different COLORTERM settings.

Maybe time to get rid of COLORTERM handling in /etc/profile at all? mc seems to
be colorized in any case :-)


You are receiving this mail because: