2017年12月27日 星期三

rotate monitor

在/etc/X11新增xorg.conf:
Section "Device"
    Identifier "FBDEV"
    Driver "fbdev"
    Option "fbdev" "/dev/fb0"
    Option "Rotate" "CW"
    #Option  "RandRRotation" "on"  無效
EndSection

Section "InputClass"
    Identifier "evdev touchscreen catchall"
    MatchIsTouchscreen "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "SwapAxes" "True"
#    Option "InvertX" "True"
    Option "InvertY" "True"
EndSection

ref: Here and Here

沒有留言:

張貼留言