View Full Version : [ubuntu] Change font color
Jloser
October 3rd, 2008, 11:20 PM
How do I modify the color of the text displayed in console?
It is a dull gray color, and I want it to be white... maybe even play around with some reds.
I tried setterm, but nothing happened.
mbeach
October 4th, 2008, 09:40 AM
I'd say setterm is the proper utility to use at the console (no gui). What did you try? I will say that it doesn't seem to 'stick'. I tried a 'setterm -foreground green' which changes the text colour to green but after a "ls" it goes back to the default. Not sure of any other way to change it. I'm sure if you are using putty or whatever to remotely access the machine there are settings, and if you are using the terminal inside a window.
Jloser
October 4th, 2008, 10:29 PM
i tried
setterm -foreground yellow
I also tried with sudo, but nothing changed. Any ideas?
itfell
October 5th, 2008, 03:17 PM
I'd say setterm is the proper utility to use at the console (no gui). What did you try? I will say that it doesn't seem to 'stick'. I tried a 'setterm -foreground green' which changes the text colour to green but after a "ls" it goes back to the default. Not sure of any other way to change it. I'm sure if you are using putty or whatever to remotely access the machine there are settings, and if you are using the terminal inside a window.
mbeach, after changing your color try using the command: setterm -store
....on a side note i cannot seem to get setterm to change the colors on my terminals either.....any updates?
itfell
October 5th, 2008, 03:38 PM
p.s. i also noticed that the setterm command WILL change the colors when your are in a text terminal (accessed via Ctrl+Alt+F1..F2..F3, etc.), but when using the terminal opened within your respective GUI it tends to follow the color scheme in your "Appearance Preferences"
mbeach
October 5th, 2008, 04:57 PM
yes, the -store flag worked. Neat. Not that I'm too often in the console in that fashion though (CTRL+ALT+F2...). The increased fontsize/lower resolution is soothing on my aging eyes though.
cariboo907
October 5th, 2008, 06:30 PM
If you are using a gnome-terminall just right click anywhere in the terminal and select Profiles-->Profile Preferences. See the screenshot of my terminal.
Note: I zoomed it a couple of times for clarity
Jim
itfell
October 5th, 2008, 09:16 PM
If you are using a gnome-terminall just right click anywhere in the terminal and select Profiles-->Profile Preferences. See the screenshot of my terminal.
Note: I zoomed it a couple of times for clarity
Jim
very interesting...thank you
ssammy
March 17th, 2009, 11:11 AM
http://www.blowyouros.com/2008/09/how-to-change-the-way-your-terminal-looks-in-ubuntu-server/
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.