Gentoo Archives: gentoo-user

From: Benno Schulenberg <benno.schulenberg@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] /etc/portage/color.map for a light background
Date: Sun, 18 Jun 2006 22:11:08
Message-Id: 200606182359.52879.benno.schulenberg@gmail.com
1 Hi all,
2
3 Gentoo Weekly News mentioned that among the new features of
4 Portage-2.1 there was Colour remappings: "you can now remap the
5 colours that Portage will use in its output." But the man page
6 says nothing about how to do this, nor what colour names it knows
7 about. The gentoo-wiki has nothing, googling turned up nothing
8 useful, and on the forums there's just one post that mentions
9 changing the yellow. Reading the code shows that it knows about:
10
11 blue darkblue fuchsia purple
12 red darkred turquoise teal
13 green darkgreen yellow brown
14
15 white lightgray darkgray black
16
17 So for the Konsole with a light background I made the
18 following /etc/portage/color.map:
19
20 # Map the four brightest colours to their darker forms:
21 yellow=brown
22 turquoise=teal
23 green=darkgreen
24 fuchsia=purple
25
26 # For an extra touch of Gentoo:
27 darkgreen=purple
28
29 (But replacing the last purple with darkblue looks better.)
30
31 Enjoy.
32
33 Benno
34 --
35 gentoo-user@g.o mailing list