mirror of
https://github.com/swaywm/sway.git
synced 2025-02-16 14:24:27 +00:00
Simplify dbus-update-activation-environment
parent
d7fa555212
commit
0f44fd8692
4
Home.md
4
Home.md
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue