LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-18-2010, 01:31 PM   #1
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
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?
 
Old 03-19-2010, 06:10 AM   #2
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
Quote:
Originally Posted by alan99 View Post
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?

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

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

Last edited by Sayan Acharjee; 03-19-2010 at 06:20 AM.
 
Old 03-19-2010, 10:01 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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?
 
Old 03-19-2010, 02:53 PM   #4
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by tredegar View Post
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.
 
Old 03-19-2010, 04:45 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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?
 
Old 03-20-2010, 06:28 AM   #6
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Original Poster
Rep: Reputation: 31
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
 
Old 03-20-2010, 07:05 AM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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
 
Old 03-20-2010, 09:39 PM   #8
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Original Poster
Rep: Reputation: 31
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A few colors are wrong. Louis_Carole Linux - Newbie 2 10-24-2004 11:08 PM
colors in console??? alaios Linux - General 1 08-11-2004 08:11 PM
console colors ninadb Slackware 3 04-28-2004 03:31 AM
C and Console colors Gerardoj Programming 3 04-23-2004 12:47 AM
Console colors how-to? PaulBeton Linux - Newbie 5 11-12-2003 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration