From 4c72d42731f96cf146c1ab664d0cc4f292e2527b Mon Sep 17 00:00:00 2001 From: Sebastian Jung Date: Wed, 20 Aug 2025 18:03:55 +0000 Subject: [PATCH] fix: start gnome-keyring components if the daemon is active --- data/start-cosmic | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/data/start-cosmic b/data/start-cosmic index 7e8ccbb..05e4b25 100755 --- a/data/start-cosmic +++ b/data/start-cosmic @@ -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