mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 22:43:58 +01:00
Updated Home (markdown)
parent
0cfc0d29cc
commit
5b05c364dd
14
Home.md
14
Home.md
@ -484,3 +484,17 @@ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
|
|||||||
```
|
```
|
||||||
|
|
||||||
Adjust the paths so that they point to a valid location on your system.
|
Adjust the paths so that they point to a valid location on your system.
|
||||||
|
|
||||||
|
### GTK+ applications take 20 seconds to start
|
||||||
|
|
||||||
|
This is due to GTK+ waiting for `xdg-desktop-portal` to start via D-Bus. This times out because the D-Bus activated service doesn't know what `WAYLAND_DISPLAY` to connect to.
|
||||||
|
|
||||||
|
This can be fixed by adding the following to your configuration file:
|
||||||
|
|
||||||
|
```
|
||||||
|
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||||
|
exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||||
|
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||||
|
```
|
||||||
|
|
||||||
|
More details: https://github.com/swaywm/sway/issues/5732
|
Loading…
Reference in New Issue
Block a user