LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 12-21-2004, 01:05 PM   #1
falling
LQ Newbie
 
Registered: Sep 2004
Location: nyc
Posts: 6

Rep: Reputation: 0
virtual console color


Hey everyone,
I've edited /etc/init.d/console-screen.sh to set foreground and background colors for my console, and also have used the -store option to keep them for good. BUT it seems this is enabled only for my first virtual console, and the other ones remain the default white on black. Um, is there any way to setup ALL my consoles with my custom colors at startup?

thanks!
 
Old 12-23-2004, 02:12 PM   #2
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Rep: Reputation: 30
setterm -foreground blue
setterm -background black

Change the values of the colors to fit your preferences. The problem is that some apps will change it back to default.

Last edited by iZvi; 12-23-2004 at 02:19 PM.
 
Old 12-23-2004, 02:50 PM   #3
falling
LQ Newbie
 
Registered: Sep 2004
Location: nyc
Posts: 6

Original Poster
Rep: Reputation: 0
Right, that's what I've been doing.
To prevent some apps from changing the color back to default just pass setterm the -store argument along with the other args.
BUT I'd like to find a place (perhaps in some init file?) where I can set setterm to run for ALL virutal consoles.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
console/cli in color vaderj Slackware 3 06-28-2005 08:27 AM
Console Color Changes? darioush Red Hat 4 09-16-2003 01:38 AM
default console color boob Linux - Software 1 09-07-2003 12:19 AM
Color Console JustinH Programming 6 04-30-2003 03:02 PM
color in console schatoor Linux - General 2 12-13-2002 08:32 AM


All times are GMT -5. The time now is 12:29 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration