From aec57cbdcd9235e45e38750b02f29fb326b643ca Mon Sep 17 00:00:00 2001 From: binaryDiv Date: Sat, 19 Mar 2022 18:19:35 +0100 Subject: [PATCH] xprofile: Auto-unlock Gnome keyring (and use it as SSH key agent) --- .xprofile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.xprofile b/.xprofile index 2c9abea..0d5f665 100644 --- a/.xprofile +++ b/.xprofile @@ -22,6 +22,10 @@ xmodmap -e "keysym Menu = Super_R" # Register screen locker xss-lock -- i3lock -n -eft -i ~/.wallpapers/lockscreen & +# Auto-unlock Gnome keyring (and use it as SSH key agent) +eval $(gnome-keyring-daemon --start) +export SSH_AUTH_SOCK + # Start polkit authentication agent POLKIT_AUTH_AGENT=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 [ -f $POLKIT_AUTH_AGENT ] && $POLKIT_AUTH_AGENT &