| 1 |
.\" @(#)man/man8/setvtrgb.8 1.0 Mar 3 12:32:18 CST 2011 |
| 2 |
.TH SETVTRGB 8 "3 Mar 2011" "kbd" |
| 3 |
.SH NAME |
| 4 |
setvtrgb \- set the virtual terminal RGB colors |
| 5 |
.SH SYNOPSIS |
| 6 |
.B setvtrgb |
| 7 |
[\fI\,options\/\fR] |
| 8 |
.I vga|FILE|\- |
| 9 |
.SH DESCRIPTION |
| 10 |
The |
| 11 |
.I setvtrgb |
| 12 |
command takes a single argument, either the string |
| 13 |
.B vga |
| 14 |
, or a path to a file containing the colors to be used by |
| 15 |
the Linux virtual terminals. |
| 16 |
|
| 17 |
You can choose to write the colors in decimal or hexadecimal format, |
| 18 |
it will be detected on runtime. |
| 19 |
|
| 20 |
Decimal |
| 21 |
.B FILE |
| 22 |
format should be exactly 3 lines of 16 |
| 23 |
comma-separated decimal values for RED, GREEN, and BLUE. |
| 24 |
|
| 25 |
To seed a valid |
| 26 |
.B FILE |
| 27 |
: |
| 28 |
.RS |
| 29 |
.B "cat /sys/module/vt/parameters/default_{red,grn,blu} > FILE" |
| 30 |
.RE |
| 31 |
|
| 32 |
And then edit the values in |
| 33 |
.B FILE |
| 34 |
|
| 35 |
Hexadecimal |
| 36 |
.B FILE |
| 37 |
format should be exactly 16 lines of hex triplets for RED, GREEN and BLUE, |
| 38 |
prefixed with a number sign (#). For example: |
| 39 |
.nf |
| 40 |
.RS |
| 41 |
.B #000000 |
| 42 |
.B #AA0000 |
| 43 |
.B #00AA00 |
| 44 |
.B #AA5500 |
| 45 |
.B #0000AA |
| 46 |
.B #AA00AA |
| 47 |
.B #00AAAA |
| 48 |
.B #AAAAAA |
| 49 |
.B #555555 |
| 50 |
.B #FF5555 |
| 51 |
.B #55FF55 |
| 52 |
.B #FFFF55 |
| 53 |
.B #5555FF |
| 54 |
.B #FF55FF |
| 55 |
.B #55FFFF |
| 56 |
.B #FFFFFF |
| 57 |
.RE |
| 58 |
.fi |
| 59 |
|
| 60 |
.SH OPTIONS |
| 61 |
.TP |
| 62 |
\fB\-C\fR, \fB\-\-console\fR=\fI\,DEV\/\fR |
| 63 |
the console device to be used. |
| 64 |
.TP |
| 65 |
\fB\-h\fR, \fB\-\-help\fR |
| 66 |
Prints usage message and exits. |
| 67 |
.TP |
| 68 |
\fB\-V\fR, \fB\-\-version\fR |
| 69 |
Prints version number and exists. |
| 70 |
|
| 71 |
.SH AUTHORS |
| 72 |
The utility is written by Alexey Gladkov, Seth Forshee, Dustin Kirkland. |
| 73 |
|
| 74 |
.SH DOCUMENTATION |
| 75 |
Documentation by Dustin Kirkland. |