# Linux Kernel Module Cheat

#### 17.17.1. Linux kernel console fun

Requires Graphics.

You can also try those on the `Ctrl-Alt-F3` of your Ubuntu host, but it is much more fun inside a VM!

Stop the cursor from blinking:

    echo 0 > /sys/class/graphics/fbcon/cursor_blink

Rotate the console 90 degrees! https://askubuntu.com/questions/237963/how-do-i-rotate-my-display-when-not-using-an-x-server

    echo 1 > /sys/class/graphics/fbcon/rotate

Relies on: `CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y`.

Documented under: `Documentation/fb/`.

TODO: font and keymap. Mentioned at: https://cmcenroe.me/2017/05/05/linux-console.html and I think can be done with BusyBox `loadkmap` and `loadfont`, we just have to understand their formats, related:

- https://unix.stackexchange.com/questions/177024/remap-keyboard-on-the-linux-console

- https://superuser.com/questions/194202/remapping-keys-system-wide-in-linux-not-just-in-x