Hacker News new | ask | show | jobs
by voltagex_ 2994 days ago
I wonder if there's a way to take over another VT so you don't have the console text over your images.
4 comments

You can do this without taking over another VT by using ioctl(KDSETMODE, KD_GRAPHICS). This tells fbcon in the kernel to stop drawing console text to /dev/fb.
You need to read Unix and Linux Stack Exchange.

* https://unix.stackexchange.com/a/178807/5132

You can change the active VT with ioctl()s.

See how chvt does it.

I do it with tput civis, and redirecting the output to null.