xprofile: Auto-unlock Gnome keyring (and use it as SSH key agent)
This commit is contained in:
parent
89297b5ebc
commit
aec57cbdcd
1 changed files with 4 additions and 0 deletions
|
|
@ -22,6 +22,10 @@ xmodmap -e "keysym Menu = Super_R"
|
||||||
# Register screen locker
|
# Register screen locker
|
||||||
xss-lock -- i3lock -n -eft -i ~/.wallpapers/lockscreen &
|
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
|
# Start polkit authentication agent
|
||||||
POLKIT_AUTH_AGENT=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
POLKIT_AUTH_AGENT=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
[ -f $POLKIT_AUTH_AGENT ] && $POLKIT_AUTH_AGENT &
|
[ -f $POLKIT_AUTH_AGENT ] && $POLKIT_AUTH_AGENT &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue