Gnome Shell + Wayland
describe the request
Hello, how are you?
Excuse my English, I tried really hard to write correctly.
This week I was testing ArchLinux with Gnome Shell + Wayland and I noticed an annoying problem.
I noticed that the system is freezing when it is idle for a while.
I did several tests that didn't work, until I decided to test the system in an X11 session.
There was no problem with Gnome Shell + X11, so I went back to the Wayland session for more tests.
I discovered that the following packages solve the problem:
xorg-xwayland xorg-xlsclients glfw-wayland
After installing these packages, there was no more freezing when idle. It worked as well as an X11 session.
The libinput and wayland packages were already installed.
Just to reinforce, I later installed the "wayland-protocols" package, but I don't know if this is really necessary, since the other 3 already fixed the problem.
I don't know if other interfaces need it, but Gnome, as far as I've tested, needs these packages to work properly.
So, a suggestion and request: add these packages, "xorg-xwayland, xorg-xlsclients and glfw-wayland" to the Xorg session installation script, or directly to the Gnome Shell session itself.
I would like to thank you in advance for all the hard work you do. Thank you very much!
This is the repository for archinstall, as your issue is related to Archlinux I'd recommend to raise it over there https://bbs.archlinux.org/
Thank you very much for your attention and patience. One detail I noticed:
The system stopped crashing, really with these packages, when it is left for a while without moving, but I noticed that when it goes into Standby, the problem occurs. If I configure the variable "GDK_BACKEND=wayland", the system works normally, however, it disables the "copy-paste" between Host and VM. If I configure GDK_BACKEND=wayland,x11 or remove it, the problem occurs. I will try to debug and solve it. If I find something, I will let you know.