Rotate the framebuffer during boot in Linux


If your kernel is compiled with CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y which it probably is if you’re using CentOS, Fedora, Ubuntu, or any of the other mainstream distributions, then you can rotate the framebuffer console output to match your rotated monitors.

You can also rotate the current framebuffer console from a booted system like this:

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

If the text is upside down, try rotate:1 instead. The rotation should take effect immediately. If the rotation worked then you can make it permanent by adding it to the kernel line during boot.

Add this to your kernel line in grub:

fbcon=rotate:3

All the consoles should be rotated now.root|ninja


Posted on March 13th, by admica in Linux, tweaks.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">