Tip o’ the day: console rotation

So, you see the light and set up your dual monitors in portrait orientation, rather than landscape. Then GNOME explodes, and you’re stuck at a console trying to fix it with your neck rotated 90 degrees…

Never fear! fbcon to the rescue. fbcon is compiled into Fedora kernels, and happily, one of fbcon’s abilities is that it can rotate consoles. So, add this to the kernel parameters in /etc/grub.conf:

fbcon=rotate:1

or possibly:

fbcon=rotate:3

it depends on which way you rotated your displays. Reboot, and rejoice as you no longer have to perform contortions to read your consoles.

You can adjust the setting on the fly by echoing the desired number to /sys/class/graphics/fbcon/rotate_all : this is a good way to test whether you need 1 or 3.

3 Responses

  1. Robert 'Bob' Jensen
    Robert 'Bob' Jensen June 28, 2011 at 1:59 pm | | Reply

    Great tip Adam. I ran in to this years ago, hopefully I never do again. Still cool to know their is a solution.

  2. AdamW on Linux and more » Blog Archive » Son O’ Tip O’ The Day: X rotation

    [...] AdamW on Linux and more « Tip o’ the day: console rotation [...]

  3. Links 30/6/2011: Knoppix 2011 6.4, Netrunner 3.2 Released | Techrights

    [...] Tip o’ the day: console rotation [...]

You can comment without reCAPTCHA by using an OpenID as the URL, or logging in with an OpenID or an old site account.

Leave a Reply