我是靠谱客的博主 直率马里奥,最近开发中收集的这篇文章主要介绍ubuntu18设置屏幕旋转_安装好ubuntu 18.10之后,屏幕一直在自动旋转,怎么办?,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

sudo apt-get install okular dia gimp Gparted

sudo add-apt-repository universe

sudo apt install gnome-tweak-tool

安装好ubuntu 18.10之后,屏幕一直在自动旋转,使用xrandr -o normal命令,过个几分钟屏幕又会自动旋转,请问怎么处理?

https://askubuntu.com/questions/968169/screen-randomly-rotates-on-ubuntu-17-10

Had the same issue. Seems like a bug. I disabled the screen rotation from task bar(top right) and it went to landscape mode. Just check if this works for you. Also, xrandr does not work on Wayland.

gsettings set org.gnome.settings-daemon.peripherals.touchscreen orientation-lock true

Additionally, the below command ought to disable the orientation plugin completely.

gsettings set org.gnome.settings-daemon.plugins.orientation active false

Also, gnome provides an option to rotate the screen from Settings->Devices->Displays->Orientationsetting (search fordisplaysinActivities)

gsettings set org.gnome.settings-daemon.plugins.orientation active false

gsettings set org.gnome.settings-daemon.peripherals.touchscreen orientation-lock true

xrandr -o left

$ xrandr -o left 向左旋转90度

$ xrandr -o right 向右旋转90度

$ xrandr -o inverted 上下翻转

$ xrandr -o normal 回到正常角度

Type below command to switch to normal screen

$ xrandr -o normal

Try this command to stop and disable

$ sudo systemctl stop iio-sensor-proxy.service

$ sudo systemctl disable iio-sensor-proxy.service

Try this command to remove

$ sudo apt-get remove iio-sensor-proxy

win + o screen lock

sudo systemctl stop iio-sensor-proxy.service

sudo systemctl disable iio-sensor-proxy.service

sudo apt-get remove iio-sensor-proxy

最后

以上就是直率马里奥为你收集整理的ubuntu18设置屏幕旋转_安装好ubuntu 18.10之后,屏幕一直在自动旋转,怎么办?的全部内容,希望文章能够帮你解决ubuntu18设置屏幕旋转_安装好ubuntu 18.10之后,屏幕一直在自动旋转,怎么办?所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(49)

评论列表共有 0 条评论

立即
投稿
返回
顶部