From 5b05c364dda16a1e17dc5846d141fb63671d2806 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 14 Oct 2020 12:45:32 +0200 Subject: [PATCH] Updated Home (markdown) --- Home.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Home.md b/Home.md index 86225d7..065ebee 100644 --- a/Home.md +++ b/Home.md @@ -483,4 +483,18 @@ export STUDIO_JDK=/usr/lib/jvm/java-14-openjdk export JAVA_HOME=/usr/lib/jvm/java-8-openjdk ``` -Adjust the paths so that they point to a valid location on your system. \ No newline at end of file +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 \ No newline at end of file