How to rotate display screen
OS: BPI-M3 Ubuntu15.10 (Kernel3.4)
Version: 1.0 HDMI
1.Add Command in your /etc/rc.local:
echo 1 > /sys/class/graphics/fbcon/rotate_all
2.Edit /etc/X11/xorg.conf with this content:
1
Section "Device"
2
Identifier "Raspberry Pi FBDEV"
3
Driver "fbturbo"
4
Option "fbdev" "/dev/fb0"
5
Option "SwapbuffersWait" "true"
6
Option "rotate" "cw"
7
EndSection
Copied!
Parameter Description
1
"rotate" "cw" // clockwise 90°
2
"rotate" "ud" // clockwise 180°
3
"rotate" "ccw" //clockwise 270°
Copied!
clockwise 90°
clockwise 180°
Last modified 1yr ago
Copy link