| 1 |
.TH SETVTRGB 1 "July 2011" |
| 2 |
.SH NAME |
| 3 |
setvtrgb \- customize the console color map |
| 4 |
.SH SYNOPSIS |
| 5 |
\fBsetvtrgb\fR vga |
| 6 |
.LP |
| 7 |
\fBsetvtrgb\fR \fIFILE\fR|- |
| 8 |
.SH DESCRIPTION |
| 9 |
.B |
| 10 |
setvtrgb |
| 11 |
sets the console color map in all virtual terminals according to custom |
| 12 |
values specified in a file or standard input. With the `vga' parameter, |
| 13 |
it can also be used to restore the settings built into the kernel. |
| 14 |
.LP |
| 15 |
When invoked with a filename or `-', |
| 16 |
.B |
| 17 |
setvtrgb |
| 18 |
expects input as follows: |
| 19 |
.PP |
| 20 |
color0_r,color1_r,...,color15_r |
| 21 |
color0_g,color1_g,...,color15_g |
| 22 |
color0_b,color1_b,...,color15_b |
| 23 |
.LP |
| 24 |
where colorN_{r,g,b} is the red/green/blue portion of the respective |
| 25 |
color in decimal notation in the 0..255 range. To pre-seed a file in |
| 26 |
the correct format, you can use |
| 27 |
.PP |
| 28 |
cat /sys/module/vt/parameters/default_{red,grn,blu} |
| 29 |
.LP |
| 30 |
The meanings of the color values are defined as follows: |
| 31 |
.PP |
| 32 |
+--------+--------+---------+ |
| 33 |
| Normal | Bright | Color | |
| 34 |
+--------+--------+---------+ |
| 35 |
| 0 | 8 | Black | |
| 36 |
| 1 | 9 | Red | |
| 37 |
| 2 | 10 | Green | |
| 38 |
| 3 | 11 | Yellow | |
| 39 |
| 4 | 12 | Blue | |
| 40 |
| 5 | 13 | Magenta | |
| 41 |
| 6 | 14 | Cyan | |
| 42 |
| 7 | 15 | White | |
| 43 |
+---------------------------+ |
| 44 |
.SH AUTHOR |
| 45 |
setvtrgb is Copyright \(co 2011 Alexey Gladkov |
| 46 |
<[email protected]>, with portions by Dustin Kirkland |
| 47 |
<[email protected]> and Seth Forshee <[email protected]> |
| 48 |
at Canonical Ltd. |
| 49 |
.LP |
| 50 |
This manual page was written by Michael Schutte <[email protected]> for |
| 51 |
the Debian GNU/Linux system (but may be used by others). |