changing console color?
The black backround on my linux console and the white text gets old fast is there a way to change the color of the text ro backround???
|
Code:
man dircolors Code:
man dir_colors your quest, I believe :} Cheers, Tink |
What terminal are you using?? For Konsole you can change the foreground color under Konsole settings. For xterm and aterm just set the fg option to what color you want. If you want to change the color of executables and directory colors you need to do what Tinkster suggested.
Good Luck |
ok i feel stupid now im using redhat linux so what does that make my terminal??? if i am using konsole how do i get in the kolsole settings? God i feel stupid now lol
|
one or all of these will do
setterm [ -foreground black|red|green|yellow|blue|magenta|cyan|white|default ] setterm [ -background black|red|green|yellow|blue|magenta|cyan|white|default ] setterm [ -ulcolor black|grey|red|green|yellow|blue|magenta|cyan|white ] setterm [ -ulcolor bright red|green|yellow|blue|magenta|cyan|white ] setterm [ -hbcolor black|grey|red|green|yellow|blue|magenta|cyan|white ] setterm [ -hbcolor bright red|green|yellow|blue|magenta|cyan|white ] setterm [ -inversescreen [on|off] ] :) |
ok that worked thanks
|
crap i have another question, how do i make the the setterm thing work at startup???
|
heh
edit /etc/rc.d/rc3.d/S99local and add the required setterm commands and the end of the file. :) |
ok ive entered setterm -foreground blue about a million different ways into the S99local thing but nothing seems to be happening in there a special syntax i need to enter to make it work???
|
im running slack9 and i just installed blackbox. when i open xterm the defaults are black on white. it gets a little bright after a while. can anyone tell me how to change the colors permanently everytime i open xterm, or give me a link that shows how? thanks
|
You can man xterm to find all the options you want to use and then edit the xterm command in your blackbox menu configuration file so that it reflects the specific switches you want to use.
|
is there a way to include a rgb value to xterm color?
ie.: xterm -bg black -fg rgb:109/255/109 the above doesnt work i tried it with quotes. does anyone know the correct syntax? |
Yes there is. Check out the /usr/lib/X11/rgb.txt file. This is where all your colors are defined. If you don't see the one you want simply add it like this:
200 178 98 MyColor I think you'd have to restart X for the changes to take effect. Then you can simply do: xterm -fg MyColor |
thanks crashed_again. learning more everyday. =)
|
Me too.
|
All times are GMT -5. The time now is 06:46 AM. |