$ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS-1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
1366x768 60.0*+
1024x768 59.9
800x600 59.9
640x480 59.4
720x400 59.6
640x400 60.0
640x350 59.8
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
#查看輸出裝置 我的輸出是LVDS-1
$ xrandr --output LVDS-1 --rotate right #這裡可以是 right left inverted normal
$ xrandr --output LVDS-1 --rotate normal #這樣子改回來