From a03aa59370777652eb3d338fddc5f51824e5be76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Tue, 13 Jun 2023 10:22:51 -0700 Subject: [PATCH] Updated Experimenting with Wayland (markdown) --- Experimenting-with-Wayland.md | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/Experimenting-with-Wayland.md b/Experimenting-with-Wayland.md index b87f90c..f761d6a 100644 --- a/Experimenting-with-Wayland.md +++ b/Experimenting-with-Wayland.md @@ -1,27 +1,12 @@ -If you are interesting in hacking on Pantheon's Wayland support, you will need to create the session files. These are: +If you are interesting in hacking on Pantheon's Wayland support, you will need to build [session-settings](https://github.com/elementary/session-settings) with Wayland support: -`/usr/share/wayland-sessions/pantheon-wayland.desktop` with the following contents: -``` -[Desktop Entry] -Name=Pantheon (Wayland) -Comment=This session provides elementary experience -Exec=gnome-session --builtin --session=pantheon-wayland -TryExec=io.elementary.wingpanel -Icon= -DesktopNames=Pantheon -Type=Application +```bash +meson build --prefix=/usr -Dwayland=true +cd build +ninja install ``` -And `/usr/share/gnome-session/sessions/pantheon-wayland.session` with the following contents: -``` -[GNOME Session] -Name=Pantheon (Wayland) -RequiredComponents=gala-wayland;gala-daemon;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings; -FallbackSession=pantheon -DesktopName=Pantheon -``` - -Once these are created, the greeter should offer the choice between Pantheon and Pantheon (Wayland). +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](https://github.com/elementary/gala/issues/970)