Is there a way to pass options from custom.conf to Xwayland and Xorg that are started by gdm ?
I need the +byteswappedclients option passed to Xwayland but the only way I can see to do this is to make a man-in-the-middle shell script after renaming the Xwayland binary. This is a problem when the package manager updates Xwayland.
Yes, this works for gnome-shell but not for other desktops (like cinnamon).
It is the desktop that starts the Xwayland process so I guess that its not really a gdm responsibility. Thanks for the answer.