~/swaydesk/components/keyring

← All components

Keyring

Keyring

Fixes the first login’s keyring on Debian 13: at login, it checks whether gnome-keyring created your keyring without publishing it, and if so, shows a notice and asks for your password once, right away. From the second login on, the keyring unlocks by itself.

  • It runs at every login, but acts only on Debian 13’s first login, when the keyring wasn’t published.
  • The notice reads First login: type your password once to turn on the keyring.
  • Nothing to set up: where the keyring works already, it does nothing and exits.

Why: on the first login without a full desktop (through greetd, say), gnome-keyring 48 creates the “login” keyring but doesn’t publish it, so the first app that needs a saved password (a browser, Bitwarden, the Wi-Fi) would get stuck on a prompt that never shows. Ubuntu 26.04 and Arch don’t have the problem, and there it does nothing; gnome-keyring 51 fixes it upstream.

Rust + GTK 4 · source · More in the guide

Install it alone

Only this component, without the full session. First add the Swaydesk repository, as on the page Install.

Debian 13

sudo apt install swaydesk-keyring

Ubuntu 26.04 · Mint 27

sudo apt install swaydesk-keyring

Arch Linux

sudo pacman -Syu swaydesk-keyring

Start it on plain Sway

In ~/.config/sway/config:

exec swaydesk-keyring

It only acts on Debian 13 (gnome-keyring 48); elsewhere it does nothing and exits.

Shortcuts

Those of the Swaydesk profile, the default. The other profiles are in Shortcuts.