aboutsummaryrefslogtreecommitdiff
path: root/system/vtcol/README.Slackware
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-01-11 07:22:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-11 07:22:18 +0700
commitfdc4bd1333c7aadbaf216a74cc5563bb5a8f5174 (patch)
tree41a2635186fb9daf6f330c4d803ce3573a433ac8 /system/vtcol/README.Slackware
parentafcd2cb4d566616735ace7e5e5e5b900ddab526e (diff)
system/vtcol: Added (Colour schemes for the Linux console).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/vtcol/README.Slackware')
-rw-r--r--system/vtcol/README.Slackware14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/vtcol/README.Slackware b/system/vtcol/README.Slackware
new file mode 100644
index 0000000000000..52164e358ae02
--- /dev/null
+++ b/system/vtcol/README.Slackware
@@ -0,0 +1,14 @@
+vtcol can be used in /etc/rc.d/rc.local to set the colour scheme at boot:
+
+vtcol --scheme solarized_light
+
+It is also possible to add it to your initrd to have the colour scheme set early in the boot process.
+
+Example:
+
+kernel=4.4.38
+mkinitrd -c -k "$kernel" -f ext4 -r /dev/disk/by-uuid/<some uuid> -m ext4:<more modules> -u -o /boot/initrd-"$kernel".gz -s
+/tmp/initrd-tree-"$kernel"
+install -m 755 /usr/bin/vtcol "/tmp/initrd-tree-$kernel/bin/vtcol"
+sed -i '159i \/bin\/vtcol --scheme solarized_dark' /tmp/initrd-tree-"$kernel"/init
+mkinitrd -k "$kernel" -f ext4 -r /dev/disk/by-uuid/<some uuid> -u -o /boot/initrd-"$kernel".gz -s /tmp/initrd-tree-"$kernel"