~/swaydesk/guide/faq

FAQ

Session and login

Logging in takes me back to the login screen, or the screen goes black

Log in to your other session (GNOME, KDE or whatever you have) and look for the error in ~/.local/state/sway/sway.log. The log from the previous attempt is next to it, in sway.log.old.

The login screen shows both “Sway” and “Sway Desktop”. Which one do I pick?

Sway Desktop. The Sway session comes from the Sway package and starts plain Sway, without the environment Swaydesk sets up.

How do I go back to the login screen I used before?

Without removing the swaydesk-greeter package:

sudo mkdir -p /etc/systemd/system/greetd.service.d
sudo ln -s /dev/null /etc/systemd/system/greetd.service.d/swaydesk-greeter.conf
sudo systemctl daemon-reload

greetd goes back to /etc/greetd/config.toml on the next boot. If you used GDM or SDDM, disable greetd and enable the other one again with systemctl.

The session asked for my keyring password on the first login. Is that normal?

Yes, once, on Debian 13. Its gnome-keyring 48 creates the keyring on the first login but doesn’t make it available to apps; Swaydesk reopens it, and to do that it shows a notice and asks for your login password once. After that, the keyring unlocks on its own. Ubuntu 26.04 and Arch don’t ask. See the first steps.

Screen and power

The screen stays black after turning off when idle

Press Super+Shift+O: it turns the screens back on, even while locked.

The brightness keys do nothing

Add your user to the video group and log in again:

sudo usermod -aG video $USER

After a few wrong passwords, it says the account is locked

That’s a rule of Arch itself (pam_faillock): after three failed logins, the account stays locked for 10 minutes, and the lock screen shows the system’s message with the time left. Your own sudo is locked too, so either wait the 10 minutes, or run sudo faillock --user <your-user> --reset from another administrator account, or faillock --user <your-user> --reset as root on a text console. Debian and Ubuntu don’t have this rule.

The dock doesn’t show up

In the default mode, it hides when a window needs its space. Push the pointer against the middle of the bottom edge to bring it up. It doesn’t show over a fullscreen window. To keep it visible all the time, set mode = "always" in the dock settings.

Network, Bluetooth and passwords

A network with a password won’t connect, and nothing asks for the password

With NetworkManager, nm-applet asks for the password. Install the network-manager-applet package and log in again.

With iwd, you type the password of a new network in the network popup, which has to stay open until it connects.

Pairing a Bluetooth device fails, or no window shows up

blueman shows the pairing code. Install the blueman package and log in again.

An app asked for an administrator password and nothing showed up

A polkit agent is missing, and the session tells you so with a notification. Install mate-polkit and log in again.

Debian 13: ukui-polkit is installed and I don’t use it

On Debian 13, installed from the packages or from a Swaydesk image before 0.1.5, a second polkit agent (ukui-polkit) and about 50 libraries it brought may be installed. dpkg -l ukui-polkit shows whether it is. They aren’t used under Swaydesk. To remove the agent and its autostart file, run:

sudo apt purge ukui-polkit

Then sudo apt autoremove removes the packages nothing needs any more, on the whole system, not only these: read its list before you confirm.

VS Code says “An OS keyring couldn’t be identified”

VS Code doesn’t recognize Sway and can’t find the keyring on its own. Don’t accept the weaker encryption it offers. Instead, add this line to ~/.vscode/argv.json and restart VS Code:

"password-store": "gnome-libsecret"

Apps and appearance

Screen sharing has nothing to choose from

Restart the portal, or log out and back in:

systemctl --user restart xdg-desktop-portal

When an app asks for the screen, the pointer turns into crosshairs: click the monitor you want to share.

The browser’s “… is sharing your screen” bar ignores clicks

The buttons on that bar in Chromium-based browsers don’t work under Sway, so Swaydesk tucks it away. Stop sharing with the button on the web page itself. Super+Z brings the bar back.

A Flatpak app looks blurry

It’s running through XWayland. Use Flatseal to give it the Wayland permission (--socket=wayland).

Qt apps don’t follow the theme

Install qt5ct and qt6ct. Swaydesk sets both up with the GTK theme colors and your accent color.

The Desktop Theme app says the configured theme isn’t installed

In the meantime, the session uses Adwaita-dark. Pick a theme in the app and apply it, and the warning goes away.

The Desktop Theme app’s theme list is empty

It says No GTK themes are installed: no GTK theme is on the system, which happens when gnome-themes-extra was removed, or the Theme app was installed without its recommended packages. Install one, such as gnome-themes-extra (the same name on Debian, Ubuntu and Arch), and open the app again.

I changed the file manager, but the dock still has the old one

The dock doesn’t swap pinned apps on its own. Unpin the old one with a right-click on the dock, and pin the new one with a right-click in the app grid.

The calendar shows no holidays

Holidays come from the python3-holidays package, for the country in the holidays key or, without it, the country of your language. Check that the package is installed and that the country is right in the configuration.

Text or the clock is in the wrong language

Set locale in the desktop settings and log in again. The language has to be generated on the system: locale -a lists the ones that are.

The weather is for a different city

By default, the city comes from your IP address. Set weather_location in the desktop settings and log in again. The old forecast may stick around for up to 15 minutes.

The notification bell turned red

The notification service isn’t responding, and notifications are getting lost. It usually comes back by itself within a second. If it doesn’t, check whether another notification service, such as mako or dunst, is running in the session: only one can work at a time.

I picked a network printer and the dialog is stuck on “Getting printer information…”

That’s normal the first time: CUPS is creating the printer’s queue and asking the printer what it can do, which takes up to about 30 seconds. Then it prints normally. CUPS removes that temporary queue after a while unused, so the wait can come back; to avoid it, add the printer permanently in Print Settings (called Printers on Ubuntu), which comes with the ISOs.