Created
January 4, 2014 08:53
-
-
Save baijian/8253232 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
raspdebian-> /boot/config.txt | |
display_rotate=0 Normal | |
display_rotate=1 90 degrees | |
display_rotate=2 180 degrees | |
display_rotate=3 270 degrees | |
display_rotate=0x10000 horizontal flip | |
display_rotate=0x20000 vertical flip | |
在Terminal中输入命令 | |
sudo gedit /etc/X11/xorg.conf | |
在屏幕(screen)一段,增加一句设置: | |
Option ”RandRRotation” | |
然后重启一下X(可以按 Ctrl+Alt+退格键),就可以用 xrandr 旋转屏幕了: | |
xrandr -o left 向左旋转90度 | |
xrandr -o right 向右旋转90度 | |
xrandr -o inverted 上下翻转 | |
xrandr -o normal 回到正常角度 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment