用命令旋转屏幕:
xrandr |grep "\<connected\>"
会找到我的screen:eDP-1-1xrandr --output "eDP-1-1" --rotate normal
恢复正常显示。xrandr --output "eDP-1-1" --rotate left
向左旋转90度xrandr --output "eDP-1-1" --rotate right
向右旋转90度xrandr --output "eDP-1-1" --rotate inverted
旋转180度
参考:
[1] ubuntu 屏幕旋转与重力感应