The Linux kernel documents that you can choose to boot Linux with VESA framebuffer consoles instead of the default 80×25 text mode consoles.
For text application testing purposes, one may need both modes simultaneously. For instance, ALT+1 to ALT+3 in 80×25 text mode and ALT+4 to ALT+6 in framebuffer mode.
Is there a way to achieve dual mode text displays in a single boot?
Best Answer
If you boot the kernel in text mode (standard on x86), you can change the VESA mode after boot with
vbetool
, using thevbemode
action.If you boot the kernel in framebuffer mode (standard on non-x86), you can change the resolution at runtime with
fbset
.When you press ALT+L, etc., the kernel probably sends
SIGWINCH
to theINIT
process (pid 1). The defaultinit
program probably generates akbrequest
event, you may be able to pick up on that by modifying/etc/inittab
and haveinit
run a script that sets the mode for you.