From d11d721a757efa9ba9a44cada063ec3fb0f8a394 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Thu, 29 Feb 2024 16:19:23 -0500 Subject: [PATCH] FIX gnome keyring on some setups --- dot_config/X11/xinitrc.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_config/X11/xinitrc.tmpl b/dot_config/X11/xinitrc.tmpl index 96bf81c..d47c64c 100644 --- a/dot_config/X11/xinitrc.tmpl +++ b/dot_config/X11/xinitrc.tmpl @@ -2,9 +2,13 @@ userresources="$XDG_CONFIG_HOME/X11/xresources" +# give systemd X11 env goodies systemctl --user import-environment PATH systemctl --user import-environment DISPLAY +# ditto for dbus (needed sometimes for gnome-keyring to work) +source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh + if [ -f "$userresources" ]; then xrdb -merge "$userresources" fi