Talk:Sway

From ArchWiki
Jump to navigation Jump to search

'xwayland disable' is not necessary to run programs natively under Wayland

I'm afraid the statement is not totally true. Under one circumstance, which is when xorg-server-xwayland is not installed, programs won't run(or render on screen) even with GUI libraries env variables properly set. Maybe a bug?. I've noticed on sway log that xwayland.c function of wlroots isn't called if and only if xwayland disable is set.

Rahcor (talk) 21:25, 5 May 2019 (UTC)

This is a GTK+ bug. It tries to connect to Xwayland even if it only uses Wayland. I've no idea why, it would be nice to report this to the GTK+ devs and figure out how to fix it.

If you don't disable Xwayland and have it uninstalled, you'll have an invalid `DISPLAY` set.

Emersion (talk) 21:51, 5 May 2019 (UTC)

Keeping XWayland enabled is good for programs that don't work otherwise

It depends on user choice. I think having a wiki section on how to disable xwayland may benefit those who want to avoid X.Org.

Rahcor (talk) 21:25, 5 May 2019 (UTC)