Search:  
Gentoo Wiki

TIP_Remap_Portage_Colors

Portage Output before (left) and after (right) remapping the color yellow to fuchsia
Portage Output before (left) and after (right) remapping the color yellow to fuchsia

Since Portage 2.1 there is a new feature about color remapping. This can be done via editing /etc/portage/color.map.

Let us map yellow to something different:

echo "yellow=fuchsia" >> /etc/portage/color.map

The syntax is

The list of colors is here: /usr/lib/portage/pym/output.py


But please note that colorized output of qfile and possibly some other tools currently (as of portage-utils 0.1.20) were not written initially to take RGB values into account. For such colors you should use ASCII escape sequences instead:

Color table for this notation: http://www.gentoo.org/images/docs/prompt-magic-colortable.gif

Retrieved from "http://www.gentoo-wiki.info/TIP_Remap_Portage_Colors"

Last modified: Wed, 26 Dec 2007 15:09:00 +0000 Hits: 5,420