For Ubuntu: Update /etc/default/grub
and add the quoted text to whatever is already there.
GRUB_CMDLINE_LINUX_DEFAULT="consoleblank=0 vt.cur_default=6 vt.color=2"
This will also set it so the console never blanks; adjust “consoleblank” to your own tastes (in seconds).
After updating, you need to run a command to commit the changes to the kernel at next boot:
/usr/sbin/update-grub
For Raspberry Pi/Raspbian: Update /boot/cmdline.txt
and add the following to whatever is already there:
vt.cur_default=6 vt.color=2 consoleblank=0
This will also set it so the console never blanks; adjust “consoleblank” to your own tastes (in seconds).
1 thought on “To Set the Console Text to Green with a Blinking Block Cursor”