sddm.conf(5)

✨ NAME ✨

sddm.conf β€” the sddm display manager configuration πŸ’… (yes bestie, this is the file that tells sddm how to run your login screen)


🌸 SYNOPSIS 🌸

okay so the way config loading works: it loads all the files in the configuration directories, and then the configuration file, in the order listed below β€” and the later one wins ("latter having highest precedence", periodt). so like, if two of them say different things, the one further down this list wins. πŸ‘‘

/usr/lib/sddm/sddm.conf.d
       System configuration directory

/etc/sddm.conf.d
       Local configuration directory

/etc/sddm.conf
       Local configuration file for compatibility

πŸŽ€ and listen β€” changes should be made to the local configurations. don't go messing with the system one, that's not your main character moment.

  • /usr/lib/sddm/sddm.conf.d β€” System configuration directory 🏠
  • /etc/sddm.conf.d β€” Local configuration directory 🫢
  • /etc/sddm.conf β€” Local configuration file for compatibility (iykyk, it's the old-school one, still hangin' around) πŸ’œ

πŸ¦‹ DESCRIPTION πŸ¦‹

This file configures various parameters of the sddm display manager sddm(1). If this file is not available, default values are used. no file? no problem, defaults got you πŸ’–


πŸ’… OPTIONS πŸ’…

🌈 [General] section

  • DisplayServer= β€” picks the display server the greeter runs on. valid values are:
    • x11: an X server running as root πŸ‘‘
    • x11-user: an X server running as an unprivileged user πŸ™ˆ
    • wayland: a Wayland compositor as an unprivileged user. (Experimental) πŸ§ͺ

Default value is "x11". Also, for x11-user you might need to configure Xorg.wrap(1). noted, bestie.

  • HaltCommand= β€” the halt command. Default value is "/bin/systemctl poweroff". πŸ”Œ
  • RebootCommand= β€” the reboot command. Default value is "/bin/systemctl reboot". πŸ”„
  • Numlock= β€” changes the numlock state when sddm-greeter starts. Valid values are on, off or none. If the property is set to none, numlock won't be changed. Default value is "none". πŸ”’
  • InputMethod= β€” sets the Qt input method for the greeter. Tablet girlies with Qt Virtual Keyboard installed can set this to "qtvirtualkeyboard" for the on-screen keyboard. Other known values are "ibus" for the Intelligent Input Bus, or "compose" for dead keys support. Leave this empty if unsure. ⌨️
  • Namespaces= β€” a comma-separated list of paths bound to Linux namespaces to enter with setns() before starting the user session. For example, to enter network namespace mynet created with ip netns add mynet, the value might be /run/netns/mynet. Default value is empty. (The value is ignored if the operating system is not Linux.) 🐧

πŸŽ€ [Theme] section

  • ThemeDir= β€” path of the directory containing theme files. Default value is "/usr/share/sddm/themes". ✨
  • Current= β€” name of the current theme. By default this setting is empty, meaning the embedded theme will be used. 🫧
  • FacesDir= β€” path of the directory containing face files; face files should be in username.face.icon format. Default value is "/usr/share/sddm/faces". πŸ₯°
  • CursorTheme= β€” name of the cursor theme to be set before starting the display server. πŸ–±οΈ
  • CursorSize= β€” cursor size to be set before starting the display server. πŸ“
  • Font= β€” name of the font to be set before starting the display server. Please note that the theme can still override this option. πŸ”€
  • EnableAvatars= β€” when enabled, home directories are searched for ".face.icon" images to display as their avatars. This can be slow on some file systems ⚠️. When disabled, all avatars will be default. Themes may choose to hide them altogether. Default value is true. πŸ™ˆ

πŸ‘‘ [X11] section

  • ServerPath= β€” path of the X server. Default value is "/usr/bin/X". πŸ–₯️
  • ServerArguments= β€” arguments to the X server. Default value is "-nolisten tcp". πŸ—£οΈ
  • XephyrPath= β€” path of the Xephyr. Default value is "/usr/bin/Xephyr". 🧚
  • SessionDir= β€” comma-separated list of directories containing session files. Default value is "/usr/local/share/xsessions,/usr/share/xsessions". πŸ“‚
  • SessionCommand= β€” path of script to execute when starting the user session. This script receives the value of the "Exec" setting in the ".desktop" file of the selected session and runs it. Default value is "/etc/sddm/Xsession". πŸƒ
  • SessionLogFile= β€” path to the user session log file, relative to the home directory. Default value is ".local/share/sddm/xorg-session.log". πŸ“
  • DisplayCommand= β€” path of script to execute when starting the display server. The script will be executed as root when General.DisplayServer is "x11", otherwise as the sddm user. Default value is "/usr/share/sddm/scripts/Xsetup". πŸš€
  • DisplayStopCommand= β€” path of script to execute when stopping the display server. The script will be executed as root when General.DisplayServer is "x11", otherwise as the sddm user. Default value is "/usr/share/sddm/scripts/Xstop". πŸ›‘
  • MinimumVT= β€” the minimum virtual terminal number that will be used by the first display. The virtual terminal number will increase as new displays are added. ⚠️ This setting is no longer available since SDDM v0.20. πŸ’€
  • EnableHiDPI= β€” enables Qt's automatic HiDPI scaling. Can be either "true" or "false". Default value is "true". πŸ”
🫢 heads up bestie: the XauthPath= option is no longer necessary β€” libxau is used instead.
πŸ’€ and the UserAuthFile= option was removed; the file is always created as /tmp/xauth_XXXXX. This is necessary for the use of FamilyWild entries.

🌈 [Wayland] section

  • CompositorCommand= β€” path of the compositor to execute when starting the greeter. Default value is "weston --shell=kiosk". 🌊
  • SessionDir= β€” comma-separated list of directories containing session files. Default value is "/usr/local/share/wayland-sessions,/usr/share/wayland-sessions". πŸ“‚
  • SessionCommand= β€” path of script to execute when starting the user session. This script receives the value of the "Exec" setting in the ".desktop" file of the selected session and runs it. Default value is "/etc/sddm/wayland-session". πŸƒ
  • SessionLogFile= β€” path to the user session log file, relative to the home directory. Default value is ".local/share/sddm/wayland-session.log". πŸ“
  • EnableHiDPI= β€” enables Qt's automatic HiDPI scaling. Can be either "true" or "false". Default value is "true". πŸ”

🫢 [Users] section

  • DefaultPath= β€” default path to set after successfully logging in. This is also where SDDM looks for programs. Default value is "/bin:/usr/bin". πŸ›€οΈ
  • MinimumUid= β€” minimum user id of the users to be listed in the user interface. Default value is 1000. πŸ”’
  • MaximumUid= β€” maximum user id of the users to be listed in the user interface. Default value is 60000. πŸ”’
  • HideUsers= β€” comma-separated list of Users that shouldn't show up in the user list. Default value is empty. πŸ™ˆ
  • HideShells= β€” comma-separated list of Shells of users that shouldn't show up in the user list. Default value is empty. 🐚
  • RememberLastUser= β€” if this flag is true, the LastUser value will be updated on every successful login; if false, the last user value won't be updated. Default value is true. πŸ’Ύ
  • RememberLastSession= β€” if this flag is true, the LastSession value will be updated on every successful login; if false, the last session value won't be updated. Default value is true. πŸ’Ύ

⭐ [Autologin] section

  • User= β€” name of the user to automatically log in when the system starts the first time. Default value is empty. πŸ‘€
  • Session= β€” name of the session to automatically log in when the system starts the first time. Default value is empty. πŸ—‚οΈ
  • SessionType= β€” session type to use for autologin when the session name exists in both X11 and Wayland session directories, and for the greeter session combo when Last.Session is empty. Valid values are:
    • wayland: prefer a Wayland session 🌊
    • x11: prefer an X11 session πŸ–₯️

If the session is not found in the preferred type, the other type is tried. Default value is "wayland". ✨

  • Relogin= β€” if true and User and Session are set, automatic login will kick in again on session exit; otherwise it will work only the first time. Default value is false. πŸ”

πŸ’– SEE ALSO πŸ’–

The full documentation for sddm is available at <https://github.com/sddm/sddm> πŸ“š


okay that's the whole thing, bestie, you ate that πŸŽ€βœ¨ this was sddm 0.21.0 docs, dated March 2021 β€” go forth and configure, you absolute icon πŸ‘‘πŸ’…πŸ¦‹

πŸ“¦ where this page comes from