You are not logged in.

#1 2026-01-01 08:42:04

SimonJ
Member
From: Alicante, Spain
Registered: 2021-05-11
Posts: 306
Website

[SOLVED] Cinnamon updates

Happy New Year

This morning on boot I had cinnamon updates and included in those was a dependency of gnome-keyring which I do not enjoy using.

I tried removing it afterward but was greeted by this

Packages (48) accountsservice-23.13.9-2  cinnamon-6.6.3-3  cinnamon-control-center-6.6.0-2  cinnamon-menus-6.6.0-1  cinnamon-screensaver-6.6.1-1  cinnamon-session-6.6.1-2  cinnamon-settings-daemon-6.6.1-3
              cinnamon-translations-6.6.1-1  cjs-128.1-1  evolution-data-server-3.58.2-2  gcr-3.41.2-2  geocode-glib-2-3.26.4-4  geocode-glib-common-3.26.4-4  gnome-backgrounds-49.0-1
              gnome-color-manager-3.36.2-1  gnome-themes-extra-1:3.28-1  gsound-1.0.3-3  js128-128.14.0-1  libappindicator-12.10.1-1  libcanberra-1:0.30+r2+gc0620e4-6  libdecor-0.2.5-1  libei-1.5.0-1
              libgoa-3.56.2-1  libgweather-4-4.4.4-3  libical-3.0.20-3  libkeybinder3-0.3.2-5  libnma-1.10.6-3  libphonenumber-1:9.0.21-1  muffin-6.6.0-3  network-manager-applet-1.36.0-1
              nm-connection-editor-1.36.0-1  python-pam-2.0.2-5  python-pexpect-4.9.0-4  python-ptyprocess-0.7.0-8  python-pyinotify-0.9.6-15  python-pytz-2025.2-1  python-tinycss2-1.5.1-1
              python-webencodings-0.5.1-12  rtkit-0.14-1  sound-theme-freedesktop-0.8-6  tdb-1.4.14-1  timezonemap-0.4.5.4-1  xdg-desktop-portal-1.20.3-2  xdg-desktop-portal-gtk-1.15.3-1
              xdg-desktop-portal-xapp-1.1.3-2  xdotool-3.20211022.1-2  xorg-xwayland-24.1.9-1  gnome-keyring-1:48.0-1

So I created and ran this

#!/bin/bash

# 1. Create D-Bus service directory
mkdir -p ~/.local/share/dbus-1/services/

# 2. Overwrite the Secret Service provider to point to KeePassXC
cat <<EOF > ~/.local/share/dbus-1/services/org.freedesktop.secrets.service
[D-BUS Service]
Name=org.freedesktop.secrets
Exec=/usr/bin/keepassxc
EOF

# 3. Disable GNOME Keyring autostart via XDG
mkdir -p ~/.config/autostart
# Copy all keyring autostart files and mark them as hidden
for f in /etc/xdg/autostart/gnome-keyring-*.desktop; do
    [ -e "$f" ] || continue # Skip if no files found
    filename=$(basename "$f")
    cp "$f" ~/.config/autostart/
    echo "Hidden=true" >> ~/.config/autostart/"$filename"
done

# 4. Mask the systemd user units
sudo systemctl mask gnome-keyring-daemon.service gnome-keyring-daemon.socket

# 5. Test it works
secret-tool store --label='Test' type manual

It seems to be working and keepassxc is getting the test entries and no popup from gnome-keyring so far. Is there anything I have missed or, the reason for asking, is there a better way?

EDIT
After a reboot I got a gnome-keyring pop-up on login, what I have I missed? I killed the PID and renabled keepassxc but this seems a lot to do each time. :-(

EDIT 2
I have found the autostart in many of the files in /etc/pam.d/ and commented them, but something else is starting it, I have blocked it for now with

sudo chmod -x /usr/bin/gnome-keyring-daemon

but I am guessing this will reset on updates.

Last edited by SimonJ (2026-01-01 10:39:51)


Rlu: 222126

Offline

#2 2026-01-01 10:26:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,070

Re: [SOLVED] Cinnamon updates

Does a dummy help you?
PKGBUILD

# Maintainer: Me <me at here>

pkgname=gnome-keyring-dummy
pkgver=1
pkgrel=1
pkgdesc="GNOLOFOX"
arch=('any')
license=('GPL')
depends=(keepassxc)
provides=(gnome-keyring)

Last edited by seth (2026-01-01 10:47:17)

Offline

#3 2026-01-01 10:35:20

SimonJ
Member
From: Alicante, Spain
Registered: 2021-05-11
Posts: 306
Website

Re: [SOLVED] Cinnamon updates

seth wrote:

Does a dummy help you?
PKGBUILD

# Maintainer: Me <me at here>

pkgname=gnome-keyring-dummy
pkgver=1
pkgrel=1
pkgdesc="GNOLOFOX, yeah, I just called gnome a cancer"
arch=('any')
license=('GPL')
depends=(keepassxc)
provides=(gnome-keyring)

This could well be the answer as I don't want it on the machine at all.

Thank you for the idea, I will have to look at how to swap them but it is something I can work on.

EDIT

OK so I just installed this and removed gnome-keyring and it came out without issue.

Thank you.

Last edited by SimonJ (2026-01-01 10:39:31)


Rlu: 222126

Offline

Board footer

Powered by FluxBB