LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   console colors wrong (https://www.linuxquestions.org/questions/debian-26/console-colors-wrong-796335/)

alan99 03-18-2010 01:31 PM

console colors wrong
 
I was installing some packages yesterday, I think one of them was an update for grub. (I'm using grub 2). When I rebooted, the console text was in green, not the usual white. (using gfxpayload=800x600 i.e. console is in graphics mode). I first thought maybe it was some kind of St. Patrick's day joke, but now I am getting tired of it. How do I set the color scheme back to normal? :cry:

Sayan Acharjee 03-19-2010 06:10 AM

Quote:

Originally Posted by alan99 (Post 3903514)
I was installing some packages yesterday, I think one of them was an update for grub. (I'm using grub 2). When I rebooted, the console text was in green, not the usual white. (using gfxpayload=800x600 i.e. console is in graphics mode). I first thought maybe it was some kind of St. Patrick's day joke, but now I am getting tired of it. How do I set the color scheme back to normal? :cry:


These link may help:
http://linux.die.net/man/5/dir_colors

http://www.linuxforums.org/forum/lin...-terminal.html

tredegar 03-19-2010 10:01 AM

Quote:

When I rebooted, the console text was in green
Are you saying grub's text is green, or your console / Xterm once you have booted?

alan99 03-19-2010 02:53 PM

Quote:

Originally Posted by tredegar (Post 3904563)
Are you saying grub's text is green, or your console / Xterm once you have booted?

The virtual console (clt-alt-F1). the colors on Xterm are fine.

tredegar 03-19-2010 04:45 PM

Quote:

The virtual console (clt-alt-F1). the colors on Xterm are fine.
OK.
Did you follow the links given by sayan_acharjee in post #2?

alan99 03-20-2010 06:28 AM

It wasn't much help. I think the colors are somehow miss-mapped. When I run a program that uses ncurses (i.e. aptitude) all the colors are different from what they should be. I ran "vbetool vbemode get" and it says it is running in mode 279

tredegar 03-20-2010 07:05 AM

OK.
What is on / appended to your kernel's boot line?
You can read it from /boot/grub/grub.cfg on the line that starts with linux

alan99 03-20-2010 09:39 PM

I set the command option in /etc/default/grub to gfxpayload=1024x768x16, then I added the line "set gfxpayload=keep" to the /etc/grub.d/40_custom file
:hattip:


All times are GMT -5. The time now is 03:22 PM.