From 87d1292da003d655da613dff05af171ab1f1accd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erkan=20I=C5=9EIK?= Date: Sun, 22 May 2022 19:00:13 +0300 Subject: [PATCH] Update users.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sddm.cong yolu güncellendi --- yali/users.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/yali/users.py b/yali/users.py index 61572fe..06355c5 100644 --- a/yali/users.py +++ b/yali/users.py @@ -133,7 +133,9 @@ def setAutoLogin(self, state=True): dm = "kdm" # set dm conf file if os.path.exists("/usr/bin/sddm"): - dm_conf = "etc/sddm.conf" + #22052022 tarihinde değiştirildi + #dm_conf = "etc/sddm.conf" + dm_conf = "usr/lib/sddm/sddm.conf.d/sddm.conf" dm = "sddm" elif os.path.exists("/usr/sbin/lxdm"): dm_conf = "etc/lxdm/lxdm.conf" @@ -192,7 +194,8 @@ def set_key(section, key, value, rc): elif dm == "sddm": # FIXME: plasma için ayarlandı section = "[Autologin]" auto_login_defaults['User'] = self.username if state else "" - auto_login_defaults['Session'] = "plasma.desktop" if state else "" + #22052022 tarihinde değiştirildi + #auto_login_defaults['Session'] = "plasma.desktop" if state else "" elif dm == "lxdm": section = "[base]" auto_login_defaults['autologin'] = self.username if state else ""