Skip to content

Instantly share code, notes, and snippets.

@StrixROX
Created July 4, 2026 21:55
Show Gist options
  • Select an option

  • Save StrixROX/5aea86e8796725617f8cd83deedb6cef to your computer and use it in GitHub Desktop.

Select an option

Save StrixROX/5aea86e8796725617f8cd83deedb6cef to your computer and use it in GitHub Desktop.
SDDM with Niri as Wayland Compositor

Want to use Wayland with SDDM instead of X11? Want to use niri as the Wayland Compositor? You are in the right place!

To use niri as your wayland compositor, and ditch X11, do this:

  1. Create /etc/sddm.conf.d/wayland.conf
[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell

[Wayland]
CompositorCommand=niri
  1. Add a barebones niri config at /var/lib/sddm/.config/niri/config.kdl
hotkey-overlay {
    skip-at-startup
}
  1. Restart sddm
sudo systemctl restart sddm

Done!

@mrwensveen

Copy link
Copy Markdown

I was just looking for this. Thanks! I commented out the layer-shell bit, because it doesn't seem to do anything?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment