Difference between revisions of "Lubuntu desktop/zh"
From FriendlyELEC WiKi
Line 1: | Line 1: | ||
[[Lubuntu desktop|English]] | [[Lubuntu desktop|English]] | ||
+ | |||
+ | ===Lubuntu desktop屏幕旋转=== | ||
+ | 在 lubuntu desktop系统里执行以下操作: <br /> | ||
+ | 首先删除armsoc的配置文件: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | sudo rm -f /usr/share/X11/xorg.conf.d/20-armsoc.conf | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | 然后新建一个配置文件 /etc/X11/xorg.conf: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | sudo vi /etc/X11/xorg.conf | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | 内容如下: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | Section "Monitor" | ||
+ | Identifier "Primary" | ||
+ | VendorName "FriendlyARM" | ||
+ | EndSection | ||
+ | |||
+ | Section "Device" | ||
+ | Identifier "Primary" | ||
+ | Driver "fbdev" | ||
+ | Option "fbdev" "/dev/fb0" | ||
+ | Option "Rotate" "CW" | ||
+ | EndSection | ||
+ | </syntaxhighlight> | ||
+ | 上面的设置是旋转90度,Rotate可选的值如下:<br /> | ||
+ | CW 旋转90度<br /> | ||
+ | UD 旋转180度<br /> | ||
+ | CCW 旋转270度<br /> | ||
+ | 保存设置后需要重启开发板或者lightdm服务。 |
Revision as of 09:01, 18 December 2017
Lubuntu desktop屏幕旋转
在 lubuntu desktop系统里执行以下操作:
首先删除armsoc的配置文件:
sudo rm -f /usr/share/X11/xorg.conf.d/20-armsoc.conf
然后新建一个配置文件 /etc/X11/xorg.conf:
sudo vi /etc/X11/xorg.conf
内容如下:
Section "Monitor" Identifier "Primary" VendorName "FriendlyARM" EndSection Section "Device" Identifier "Primary" Driver "fbdev" Option "fbdev" "/dev/fb0" Option "Rotate" "CW" EndSection
上面的设置是旋转90度,Rotate可选的值如下:
CW 旋转90度
UD 旋转180度
CCW 旋转270度
保存设置后需要重启开发板或者lightdm服务。