zoukankan      html  css  js  c++  java
  • 安装好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->Orientation setting (search for displays in Activities)

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

    xrandr -o left
    1.  
      $ xrandr -o left 向左旋转90度
    2.  
      $ xrandr -o right 向右旋转90度
    3.  
      $ xrandr -o inverted 上下翻转
    4.  
      $ 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

  • 相关阅读:
    直接插入排序
    简单选择排序
    xml错误: A pseudo attribute name is expecte
    接口, 抽象类
    The hierarchy of the type AudienceAdvice is inconsistent 《spring in action》
    spring配置文件出错解决办法
    Sangfor tester 实习总结
    求一棵树的面积,2014百度开发测试笔试题
    百度2014校招-深圳-开发测试-求最小“不重复数”
    二个数相加,不使用加减乘除
  • 原文地址:https://www.cnblogs.com/bluestorm/p/10249947.html
Copyright © 2011-2022 走看看