Gnome Keyring Secrets Autostart Disable

On my Linux desktop, I prefer to use KeePassXC with libsecret integration. After installing Skype and rebooting, I noticed KeePassXC secret service integration broke.

One of the dependencies pulled in with Skype is gnome-keyring. When I checked in KeePassXC, the secret service integration page shows that another service is running and it points the finger at gnome-keyring:

Warning: Another secret service is running (PID: 4384, Executable: /usr/bin/gnome-keyring-daemon).
Please stop/remove it before re-enabling the Secret Service Integration.

As I am running KDE Plasma, I checked in the Autostart area (system settings -> startup and shutdown) but there is no entry related to gnome-keyring. After a quick Google it seems like someone else had the same problem and the solution is pretty easy.

The offending autostart file is located in /etc/xdg/autostart/gnome-keyring-secrets.desktop. This file should not be changed/removed directly as it may be restored/overwritten on package upgrades. The correct way to fix the issue is:

  1. Make sure directory ~/.config/autostart exists
  2. Create the file ~/.config/autostart/gnome-keyring-secrets.desktop
  3. Place the following contents into the file:
[Desktop Entry]

The problem should now be resolved.

Source: Stack Exchange

Leave a Reply

Your email address will not be published.