【问题标题】:Gnome-shell wayland, rotate screenGnome-shell wayland,旋转屏幕
【发布时间】:2016-01-08 08:07:00
【问题描述】:

假设我使用的是英特尔的驱动程序。

Gnome-shell 允许在 Settings -> Display when using Xorg 中旋转屏幕。

使用Wayland时可以旋转吗?

【问题讨论】:

  • 哈,刚刚在 Arch 上升级到 3.18 并遇到了同样的问题……还没有看到它在其他任何地方得到解决。
  • @aiguofer,我在 Arch 中也使用 Xorg 和 gnome-shell 3.18,但是当使用两个监视器并且一个旋转(在我的情况下为 CCW)时,指针有一个偏移量,所以当我尝试聚焦一个按钮,例如它并没有真正获得焦点,除非我将光标向左移动,直到我获得所需元素的焦点。很烦人。你是否也遇到这种情况?这就是我尝试使用 Wayland 的原因,但它不会旋转显示器。
  • 哦,这很有趣,不幸的是,我没有那个错误。我在沙桥机器上的英特尔驱动程序上,水平模式下的 hdmi 显示器和垂直模式下的 vga 显示器,在 X 上完美运行。我尝试了 Wayland,除了无法旋转垂直显示器外,一切似乎都很好。

标签: multiple-monitors gnome-shell wayland


【解决方案1】:

我的联想 Yoga 910 笔记本电脑(可转换)的显示器设置中没有屏幕旋转按钮。

在 Gnome 开始随机翻转屏幕后,我通过以下方式禁用了自动屏幕旋转: gsettings set org.gnome.settings-daemon.plugins.orientation active false

突然间,我有了这些按钮!

【讨论】:

    【解决方案2】:

    GNOME 的 Mutter 从 3.20 开始支持 Wayland 上的屏幕旋转,3.22 对其进行了改进。 https://wiki.gnome.org/ThreePointTwentyone/ReleaseNotes

    【讨论】:

      【解决方案3】:

      部分解决方案是使用gsettingsdconf-editorrotate-monitor 键设置为某个键绑定。

      例如,以下命令将导致Ctrl+F8 逆时针旋转屏幕:

      $ gsettings set org.gnome.mutter.keybindings rotate-monitor "['XF86RotateWindows', '<Control>F8']"
      

      这不允许用户指定目标方向,而只能旋转屏幕直到达到所需的方向。

      (原贴在这里:https://unix.stackexchange.com/a/465395/20661

      【讨论】:

        猜你喜欢
        • 2017-10-21
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-01-21
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多