how to change the text-based console colors from gray on black to red on black

1 réponse [Dernière contribution]
mikeykayy
Hors ligne
A rejoint: 05/21/2014

Hello Trisquel users,

I've been trying to figure out how to change the text-based console colors from gray on black to red on black. I've currently have a VM of Trisqual Mini with minor tweaks made to it such as unwanted/unneeded packages removed [gnome-mplayer, xfburn, epdfview, gpicview etc...]

Installed joe, mc (midnight commander) and calcurse

I've changed grub.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to
GRUB_CMDLINE_LINUX_DEFAULT="text"

My goal is to use an old desktop for offline and bare bone school purposes in a distraction free working environment on a FSF-approved disto.

Joe = to write
mc = to transfer
calcurve = for keeping track

and so far I've gotten 99% of what I want, however, the gray on black is not what I prefer.

I want to change from the "old.ong" to the "new.png"

Hopefully I've provided enought information.

Thanks!

Pièce jointeTaille
old.png11.43 Ko
new.png10.88 Ko
lembas
Hors ligne
A rejoint: 05/13/2010

You can easily change the color after login with setterm. E.g.

setterm -store -foreground red

(perhaps put that in your ~/.bashrc)

It probably is possible to put that somewhere in the startup scripts to make things work as you wish from the beginning but with Upstart and whatnots it's getting beyond my comprehension how to do so...

Another way if that color is off is

echo -en "\e]P79C0000"

(which mangles the white color to red)

These probably have pros and cons.