diff --git a/src/modules/displaymanager/main.py b/src/modules/displaymanager/main.py index 62351cb21..600b9715e 100644 --- a/src/modules/displaymanager/main.py +++ b/src/modules/displaymanager/main.py @@ -732,11 +732,13 @@ class DMsddm(DisplayManager): name = "sddm" executable = "sddm" + configuration_file = "/etc/sddm.conf" + def set_autologin(self, username, do_autologin, default_desktop_environment): import configparser # Systems with Sddm as Desktop Manager - sddm_conf_path = os.path.join(self.root_mount_point, "etc/sddm.conf") + sddm_conf_path = os.path.join(self.root_mount_point, self.configuration_file) sddm_config = configparser.ConfigParser(strict=False) # Make everything case sensitive