-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wayland support #141
Comments
@martin-ueding is the one to make the decision on this, but I do have some questions since I haven't tried Wayland yet: These pages suggest to me that |
From my limited knowledge of Wayland, the compositor takes care of all these things. So I would guess that we have to talk to the compositors to get the screens rotated. And that would require us to have some code for KWin (KDE) and Mutter (GNOME). The others (Xfce, LXDE, Awesome WM, i3, …) are still using the X server, so that this does not make a difference. I presume the communication would go over D-Bus then? And I hope that there is some common set of functions to do what we want. Since I myself still use KDE with seemingly X server, I had not had the need to support Wayland. But the day where I will use Wayland will come and then I will have to work on this. |
@jturner314 You are right. XWayland supports reading out tools like xrandr but using them does not work (e.g. xrandr -o right fails). Thus @martin-ueding seems to be right that thinkpad-scripts would need to be adjusted to each compositor separately. |
This is more a general question, so I hope it is fine if I ask it here. As the title says I am wondering about possible wayland support. As I use GNOME as a DE I just gave it a try. The bezel buttons work but I think GNOME is handling this on its own as well as the remapping of the input devices.
When I tried
thinkpad-rotate flip -vv
I got the following debugFrom what I understand is that it cannot find the screen because it now named XWAYLAND0. I tried xrandr
and xinput
and it seems that the devices are now named xwayland... What makes me curious is that it seems "just" to be a name issue in the code and that xwayland is handling the devices. As far as I remember, xwayland is a compatibility layer for "older" programs.
So, are there any plans for thinkpad-scripts to integrate wayland support? Thanks!
The text was updated successfully, but these errors were encountered: