[Prev][Next][Index][Thread]

Re: Linux console colors.



Katsman Shimon wrote:
> 
> Hi guys!
> How could i chande foreground color for linux console,
> when i work in text mode from white to somefing else.
> 
> (Dont send me to color-ls manpage , it's working perfectly)

I put the following in /etc/rc.d/rc.local, to have different colours for
each VC:

# Set a different colour to each VC
setterm -background black -foreground white -store >/dev/tty1
setterm -background black -foreground green -store >/dev/tty2
setterm -background black -foreground yellow -store >/dev/tty3
setterm -background black -foreground cyan -store >/dev/tty4
setterm -background black -foreground red -store >/dev/tty5
setterm -background black -foreground blue -bold -store >/dev/tty6
 

Tuvik
-- 
_______________________________________
             Tuvik Beker
        becket@shum.huji.ac.il
 Tel. 03-5711685       Fax. 03-7322106  
_______________________________________


References: