Message: previous - next
Month: November 2012

Controling colors in Konsole

From: "Janek S." <fremenzone@...>
Date: Sun, 4 Nov 2012 16:44:59 +0100
Guys, I have a question that is not exactly Trinity related, but I think you might know how to 
solve my problem. I do most of my work in Konsole + Emacs. Terminal by default supports 8 colors 
and if I stick with that everything is fine.

Now I'd like to have more colors. First I set TERM=xterm-256color in my .bashrc. Emacs sees that 
256 colors are available (as listed with M-x list-colors-display). Then I install color-theme for 
Emacs and try selecting themes that are available. Most of them are completely unusable, which 
leads me to conclusion that Konsole somehow distorts tho original colors intended by theme 
authors. My question is about interaction between Konsole, TERM value and the way Emacs sees 
colors. In Konsole I can customize 20 different colors - how do they influence 256 colors of the 
terminal? I noticed that the color set I choose in Konsole influences the color theme in Emacs - 
again, how does this interact? At the moment colors I get are completely random and it would be 
good to have some control over it.