How can I disable the blinking cursor in the linux console during boot. I'm booting a custom logo with a white background so the blinking cursor is visible and I would like to get rid of it. How can I get rid of it permanently? See the attached photo of my screen with the blinking cursor.
Linux console, how to disable blinking cursor
Thank you But where will I put it such that the kernel can initialize it automatically? I'm using ptxdist and when I execute vt.global_cursor_default=0 in the console I get: -sh: vt.global_cursor_default=0: not found
you will need to pass it when the bootloader invokes the kernel so you have configure your bootloader to pass the variable to the kernel for example using uboot setenv bootargs console=ttySAC0,115200 init=/sbin/init noinitrd consoleblank=0 vt.global_cursor_default=0 mini2440=3tb root=/dev/nfs ro,tcp nfsroot=${nfsserver}:/fs/fs_pengutronix ip=192.168.1.11:192.168.1.4:192.168.1.1:255.255.255.0::: --fatbrain
In your case you will most likely just have to <edit /env/config> while in (barebox) bootloader mode. I say "most likely" as I am being really cautious here! Good luck Dave
or you can send '\033[?17;0;0c' to the console you want the cursor to stop blinking. ex: echo -e '\033[?17;0;0c' > /dev/tty1 Zogzog.
That did the trick!! In barebox /env/config I've added it to the bootargs: bootargs="console=ttySAC0,115200 mini2440=6tb vt.global_cursor_default=0" Thanks guys!
bluescape, do you need the "framebuffer console" feature? You could also disable it, and there will be no blinking cursor anymore. But you can still use such a framebuffer for your graphical application.