Y
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
Jasper_
2994 days ago
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.
link
JdeBP
2993 days ago
You need to read Unix and Linux Stack Exchange.
*
https://unix.stackexchange.com/a/178807/5132
link
ronsor
2994 days ago
You can change the active VT with ioctl()s.
See how chvt does it.
link
BenjiWiebe
2994 days ago
I do it with tput civis, and redirecting the output to null.
link