LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to adjust terminal color palette (http://www.linuxquestions.org/questions/linux-general-1/how-to-adjust-terminal-color-palette-819422/)

tospo 07-12-2010 10:44 AM

how to adjust terminal color palette
 
Hi,

I'm on Debian with KDE 3.5 desktop and I use the Konsole terminal emulator.
What I would like to know is: is it possible to tweak the color palette, for example to change my red to something a bit brighter? I use the "white on black" schema in Konsole and all colors are great except that red is far too dark on the black background.
I found this Perl script that is supposed to change the palette but, while it prints the current palette just fine, I can see no difference between the various palettes.
Searching for solutions mostly brings up pages about changing the scheme in Konsole or how to use colors in prompts and ls output etc, which is not quite what I need.
Does anybody have a solution for this problem? Thanks a lot!

MTK358 07-12-2010 11:38 AM

Go to:

Settings -> Manage Profiles...

There, either create a new profile or edit one. From there, click the Appearance tab and there should be buttons to create a new profile and edit a profile.

tospo 07-13-2010 03:32 AM

Thanks MTK358, unfortunately, this seems to be a KDE4 feature. My Konsole (in KDE 3.5) doesn't have a "Manage Profiles" menu entry. I can select a color schema in "configure Konsole" but I can't make changes to the color mappings, so that I could select a different red for example.
Unfortunately, upgrading to KDE4 is not an option on this machine at the moment, so I have to find a solution that works in KDE3.5.

MTK358 07-13-2010 06:47 AM

Yes, I'm talking about KDE4. Sadly, I don't have a KDE3 Konsole available, so I can't help.

tospo 07-13-2010 07:21 AM

I guess there must be some config file somewhere on the system that I could edit but I can't find anything about it.

David the H. 07-13-2010 07:25 AM

Simply create a new schema and save it.

In the "Configure Console" settings you'll find a tab titled "Schema". Start by entering a new title for your schema in the top field. Then in the left drop box you'll find the values you can change, such as foreground and background color, and in the right box you get the colors you can set them to, including "custom color". When you have the combination you want, just hit "save schema", and it will be available for use by your profiles.

MTK358 07-13-2010 07:34 AM

Quote:

Originally Posted by tospo (Post 4031752)
I guess there must be some config file somewhere on the system that I could edit but I can't find anything about it.

The color pallette is part of the terminal, not the system.

tospo 07-13-2010 08:20 AM

oooooooh, I can't believe I missed that....
Yes, of course you are both right. The way to handle profiles is obviously a bit different in KDE3.5 and KDE4 but you can definitely do what I wanted to do in both.
The way David the H. described it was what I needed to do in my version of Konsole. Beats me now how I didn't realize that those drop down lists in "Settings"->"Configure Konsole"->"Schema" can be used to re-map the colours. Anyway, thanks again!


All times are GMT -5. The time now is 09:14 PM.