perfstr Posted July 3, 2016 Posted July 3, 2016 There is another topic with answer for desktop case. But how to rotate the console screen, when there is no desktop? The suggestion about change in kernel parameter - fbcon=rotate:<number> didn't work for me (edited boot.cmd, compiled with mkimage command, and I see boot.scr changed ) and I was unable to change the /sys/class/graphics/fbcon/rotate file - it stays unchanged.
Gravelrash Posted July 9, 2016 Posted July 9, 2016 have you tried xrandr http://askubuntu.com/questions/563809/change-only-one-display-orientation-from-terminal?noredirect=1&lq=1 https://pkg-xorg.alioth.debian.org/howto/use-xrandr.html
perfstr Posted July 11, 2016 Author Posted July 11, 2016 Thank you for your answer! But as far as I understand, the xrandr command is designed for desktop, while I am looking for solution for console (no X desktop) configuration.
Gravelrash Posted July 11, 2016 Posted July 11, 2016 ah sorry - i misread your post - have you tried echoing the desired number to /sys/class/graphics/fbcon/rotate_all ? after that im clueless
perfstr Posted April 21, 2017 Author Posted April 21, 2017 In order for echo number to fbcon -> rotate or -> rotate_all to work, the kernel should be configured to support rotation in frame buffer, see kernel configuration tool: Device Drivers -> Graphics Support -> Support for framebuffer devices -> Framebuffer Console Support. Currently this requires custom build. I would consider to always enable frame buffer rotation support in default configuration.
perfstr Posted April 21, 2017 Author Posted April 21, 2017 Correction of path in Kernel configuration: Device Drivers -> Graphics support -> Console display driver support -> Framebuffer Console Rotation.
Recommended Posts