mirror of
https://github.com/elementary/gala.git
synced 2024-10-27 00:12:08 +03:00
Created Experimenting with Wayland (markdown)
commit
57399cbedc
30
Experimenting-with-Wayland.md
Normal file
30
Experimenting-with-Wayland.md
Normal file
@ -0,0 +1,30 @@
|
||||
If you are interesting in hacking on Pantheon's Wayland support, you will need to create the session files. These are:
|
||||
|
||||
`/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=wingpanel
|
||||
Icon=
|
||||
DesktopNames=Pantheon
|
||||
Type=Application
|
||||
```
|
||||
|
||||
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).
|
||||
|
||||
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) \
|
||||
[#971](https://github.com/elementary/gala/issues/971)
|
||||
|
||||
Commenting out the relevant sections of the Gala code so that those classes are not initialized is enough to get the Wayland session running, but it's still far from usable after that due to Plank not being compatible with Wayland and Wingpanel not sizing/positioning itself correctly.
|
Loading…
Reference in New Issue
Block a user