mirror of
https://github.com/elementary/gala.git
synced 2024-11-22 18:24:47 +03:00
Updated Experimenting with Wayland (markdown)
parent
1cdee0ab9f
commit
f333f060ae
@ -24,13 +24,13 @@ 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)
|
||||
[#970](https://github.com/elementary/gala/issues/970)
|
||||
|
||||
Commenting out these sections of the Gala code so that those classes are not initialized is enough to get the Wayland session running:
|
||||
Gtk.StyleContext and Gtk.WidgetPath are currently broken in Gala Wayland, so you need to comment out all their occurrances, or use (wayland-testing)[https://github.com/elementary/gala/tree/wayland-testing] branch, where it's already done.
|
||||
|
||||
- https://github.com/elementary/gala/blob/9efc2b990e600ed022c818fd4554d7c57bd69edf/src/WindowManager.vala#L345-L353
|
||||
- https://github.com/elementary/gala/blob/9efc2b990e600ed022c818fd4554d7c57bd69edf/src/ShadowEffect.vala#L43-L46
|
||||
- https://github.com/elementary/gala/blob/9efc2b990e600ed022c818fd4554d7c57bd69edf/src/ShadowEffect.vala#L108-L115
|
||||
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.
|
||||
|
||||
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
|
||||
```
|
Loading…
Reference in New Issue
Block a user