console font colours

Thilo Six T.Six at gmx.de
Sun Nov 26 15:17:47 UTC 2006


Gabriel Dragffy wrote the following on 26.11.2006 16:05:

<snip>

> Thanks, that worked a treat! Does the -F option go like so?:
> alias ls='ls --color=auto -F'

jap

> Additionally I've now decided that I'd like the pretty colours to be
> used when I boot up, how might I go about that?

According to your User Agnet you are using Dapper.

If that´s right:
$EDITOR /etc/lsb-base-logging.sh
------------------------------------------------------------------
find the line (107) which contains:

echo "[ ok ]"

and change that to:

printf '[ '
$TPUT setaf 2  # green
printf ok
$TPUT op  # normal
echo ' ]'

------------------------------------------------------------------

That will give you a green ok inside of white bracktes during boot.

> Many thanks
> Gabe


bye Thilo





More information about the ubuntu-users mailing list