How to Stop Cursor Blinking in Linux Virtual Terminals
In Linux virtual terminals, the cursor may blink by default. This may be distracting and annoying.
On Linux systems, the file /sys/class/graphics/fbcon/cursor_blink contains a number.
Wether the number is 1 or 0 determines whether the cursor blinks or not, respectively.
The file requires root's permission to be written, and its contents are reset at reboot.
Setting the contents to 0 at reboot should stop the blinking. Here is how to do that:
- Open a terminal.
- Log in as root by executing
- Create a shell script that stops the blinking by executing
- Edit root's crontab file by executing
- Schedule the script to be executed at reboot by adding to the file a line that says
The next time you reboot, the cursor should not blink.