Skip to content

Experimenting with Wayland

Danielle Foré edited this page Jun 13, 2023 · 10 revisions

If you are interesting in hacking on Pantheon's Wayland support, you will need to build session-settings with Wayland support:

meson build --prefix=/usr -Dwayland=true
cd build
ninja install

Once the Wayland session is installed, the greeter should offer the choice between Pantheon and Pantheon (Wayland).

At the time of writing, there are currently two blocking issues in Gala that cause it to hang/crash during startup when running it in Wayland mode. These are:
#970

Gtk.StyleContext and Gtk.WidgetPath are currently broken in Gala Wayland, so you need to comment out all their occurrances, or use wayland-testing branch, where it's already done.

After this, the Wayland session will run, but it's still a long way from being usable due to Plank being completely incompatible with Wayland and Wingpanel not being able to size/position itself correctly. There will be a number of other bugs that haven't been found yet. Here be dragons.

To use X11 apps you need to install Xwayland:

sudo apt install xwayland
Clone this wiki locally