Gnome-shell wayland, rotate screen
Asked Answered
C

3

6

Assuming I'm using intel's driver.

Gnome-shell allows to rotate screens in Settings -> Display when using Xorg.

Is it possible to rotate when using Wayland?

Canicular answered 10/10, 2015 at 12:43 Comment(3)
Ha, just upgraded to 3.18 on Arch and ran into the same issue... haven't seen it addressed anywhere else.Miche
@aiguofer, I use Xorg and gnome-shell 3.18 in Arch too, but there is a bug when using two monitors and one is rotated (CCW in my case) the pointer has an offset, so when I try to focus a button for example it doesn't really get focus, unless I move the cursor to the left until I get focus to the desired element. Very annoying. Are you experiencing this too? That's why I'm trying to use wayland, but it doesn't rotate monitors.Canicular
oh that's interesting, unfortunately no I don't have that bug. I'm on the intel driver on a sandy bridge machine with a hdmi monitor in horizontal mode and a vga monitor on vertical and works flawlessly on X. I tried Wayland and everything seems fine except for not being able to rotate the vertical monitor.Miche
S
2

I had the problem with no screen rotation buttons in the monitor settings in my Lenovo Yoga 910 laptop, which is a convertible.

After Gnome started to randomly flip the screen I disabled automatic screen rotation via: gsettings set org.gnome.settings-daemon.plugins.orientation active false

and suddenly, I've got these buttons!

Scherzo answered 13/10, 2017 at 9:43 Comment(0)
A
1

GNOME's Mutter supports screen rotation on Wayland since 3.20, and 3.22 has improved it. https://wiki.gnome.org/ThreePointTwentyone/ReleaseNotes

Abeyta answered 24/9, 2016 at 21:4 Comment(0)
R
0

A partial solution is to set the rotate-monitor key to some keybinding using gsettings or dconf-editor.

For instance, the following command will cause Ctrl+F8 to rotate the screen counterclockwise:

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

This does not allow the user to specify the target orientation, but only to rotate the screen until the desired orientation is reached.

(original posted here: https://unix.stackexchange.com/a/465395/20661)

Rigi answered 27/10, 2019 at 23:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.