~/swaydesk/guide/first-steps

First steps

Once the packages are installed, Swaydesk shows up as one more session on the login screen. The desktop you already had stays there, and the two keep their settings apart.

Logging in

If you already use a login screen, such as GNOME’s (GDM), KDE’s (SDDM) or Mint’s and Xfce’s (LightDM), there’s nothing to do but pick the session. Swaydesk shows up there as one more option, and the desktop you already had stays:

Pick Sway Desktop and enter your password. The login screen remembers the choice for next time. If you also see a session called just Sway, that one comes from the Sway package and has none of Swaydesk: use Sway Desktop.

The Swaydesk login screen

Swaydesk also has a login screen of its own, the swaydesk-greeter package, with the same look as the lock screen. With GDM, SDDM or LightDM it’s optional. Without a display manager, as on a minimal or server install, the system starts in a text console, and this is what gives you a graphical login. What it does:

It runs on top of greetd. On Debian and Ubuntu, greetd only turns itself on when the machine has no other login screen; with GDM, SDDM or LightDM, nothing changes until you switch:

sudo apt install swaydesk-greeter
sudo systemctl disable gdm      # or sddm, or lightdm
sudo systemctl enable greetd

On Arch, pacman doesn’t enable services: after installing, run sudo systemctl enable greetd. On every distro, the sessions you open from this login screen use the package’s own PAM service, /etc/pam.d/swaydesk-greeter, which also unlocks your keyring when you log in. If you customized /etc/pam.d/greetd (a fingerprint reader, a security key), make that change in /etc/pam.d/swaydesk-greeter.

To go back to the login screen you had, disable greetd and enable the other one (sudo systemctl disable greetd and sudo systemctl enable gdm, for example). See also the FAQ.

What you’ll see

The shortcuts follow the Swaydesk scheme, inspired by KDE Plasma with Krohnkite, and you can switch them to the i3, Hyprland, niri or dwm keys. The full list, profile by profile, is on the shortcuts page, and there’s a tour of each piece in The desktop.

What the first login sets up

The first time you log in, the session copies into your home folder whatever files you don’t have yet. It never overwrites anything, and what it copies is yours to edit:

It also applies the theme and the accent color to GTK apps, the bar, the dock and the popups. See Configuration for the details.

The keyring on Debian 13: on each user’s first login, a notice (“First login: type your password once to turn on the keyring. From the next login on, it opens by itself.”) is followed by the keyring password prompt (Unlock Login Keyring). Type your login password. It happens only once: from the next login on, the keyring opens by itself. This is a limitation of gnome-keyring 48 in Debian; Ubuntu 26.04 and Arch are not affected.

First things to do