Lubuntu desktop

From FriendlyELEC WiKi
Revision as of 09:11, 18 December 2017 by Yftan (Talk | contribs)

Jump to: navigation, search

查看中文

Rotate Display under Lubuntu Desktop

Firstly remove the "armsoc" configuration file:

sudo rm -f /usr/share/X11/xorg.conf.d/20-armsoc.conf

Create a new file "/etc/X11/xorg.conf":

sudo vi /etc/X11/xorg.conf

Here is the content of a typical xorg.conf file:

Section "Monitor"
    Identifier          "Primary"
    VendorName          "FriendlyARM"
EndSection
 
Section "Device"
    Identifier          "Primary"
    Driver              "fbdev"
    Option              "fbdev" "/dev/fb0"
    Option              "Rotate" "CW"
EndSection

The configuration file sets display to rotate 90 degrees. The rotation angle is defined by "Rotate" which can be set to one of the following values:
CW Rotate 90 degrees
UD Rotate 180 degrees
CCW Rotate 270 degrees
Save and reboot your board or start the lightdm service to make your change effective.