Simplify dbus-update-activation-environment

Simon Ser 2022-02-04 15:38:34 +01:00
parent d7fa555212
commit 0f44fd8692

@ -597,9 +597,7 @@ This is due to GTK+ waiting for `xdg-desktop-portal` to start via D-Bus. This ti
This can be fixed by adding the following to your configuration file:
```sh
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
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
```
Alternatively, set `GTK_USE_PORTAL=0` in your environment.