fix: start gnome-keyring components if the daemon is active
This commit is contained in:
parent
b2f4277122
commit
4c72d42731
1 changed files with 9 additions and 0 deletions
|
|
@ -48,3 +48,12 @@ if [[ -z "${DBUS_SESSION_BUS_ADDRESS}" ]]; then
|
|||
else
|
||||
exec /usr/bin/cosmic-session
|
||||
fi
|
||||
|
||||
# Start gnome keyring components if the daemon is active
|
||||
# -> check if /run/user/$UID/keyring exists
|
||||
if [ -d "/run/user/$(id -u)/keyring" ]; then
|
||||
|
||||
# start pkcs11, secrets, and ssh components
|
||||
/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh
|
||||
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue