ubuntu 屏幕旋转与重力感应

最近发现,我的hp笔记本,有自动旋转功能,当把笔记本旋转,屏幕也跟着旋转,但方向错误,例如向右横,屏幕向左转,把本子竖起来,屏幕倒过来了。

屏幕旋转锁定

点击箭头所指图标是屏幕旋转锁定/解锁,目前我还不知道怎么解决方向错误问题,先把它锁上。

锁上后,也可以用命令旋转屏幕:

xrandr |grep "\<connected\>"
会找到我的screen:eDP-1-1
xrandr --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度

猜你喜欢

转载自blog.csdn.net/caz28/article/details/85794653