Lubuntu desktop/zh

From FriendlyELEC WiKi
Revision as of 09:03, 18 December 2017 by Tzs (Talk | contribs) (Lubuntu desktop屏幕旋转)

Jump to: navigation, search

English

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

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字段指定的,Rotate字段可选的值如下:
CW 旋转90度
UD 旋转180度
CCW 旋转270度
保存设置后需要重启开发板或者lightdm服务。