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 fromSettings
->Devices
->Displays
->Orientation
setting (search fordisplays
inActivities
)
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