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 whensddm-greeterstarts. Valid values areon,offornone. If the property is set tonone, 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 withsetns()before starting the user session. For example, to enter network namespacemynetcreated withip 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 inusername.face.iconformat. 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 istrue. π
π [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 whenGeneral.DisplayServeris"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 whenGeneral.DisplayServeris"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 theUserAuthFile=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 is1000. π’MaximumUid=β maximum user id of the users to be listed in the user interface. Default value is60000. π’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 istrue, theLastUservalue will be updated on every successful login; iffalse, the last user value won't be updated. Default value istrue. πΎRememberLastSession=β if this flag istrue, theLastSessionvalue will be updated on every successful login; iffalse, the last session value won't be updated. Default value istrue. πΎ
β [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 whenLast.Sessionis 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=β iftrueandUserandSessionare set, automatic login will kick in again on session exit; otherwise it will work only the first time. Default value isfalse. π
π 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
- ubuntu stonking: sddm 0.21.0+git20251101.dfa5315-1ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms