https://bugs.kde.org/show_bug.cgi?id=363058

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/use
                   |                            |r-manager/b154c7522b639c54f
                   |                            |9a0da889069255b327727f3
             Status|CONFIRMED                   |RESOLVED

--- Comment #13 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit b154c7522b639c54f9a0da889069255b327727f3 by David Edmundson.
Committed on 13/12/2016 at 00:03.
Pushed by davidedmundson into branch 'master'.

Set Automatic login flag to adjust SDDM config directly

Summary:
AccountsService is a bit weird, the automatic login flag adjusts a
config file in /etc/gdm/

This doesn't work for two reasons:
1) SDDM (our Display Manager) obviously doesn't read this file
2) AccountsService doesn't create the folder if it doesn't exist, so we
can't even use if we tried.

This patch adjusts UserManager to write /etc/sddm.conf directly. It's
not ideal, but I think it's the only option we have, certainly in the
short term.

Test Plan:
Set automatic login on a user
Restarted KCM, still set
Set it on another user, config changed properly, old user was updated
Unchecked it on my current user, config file was unset properly

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D3658

M  +1    -1    CMakeLists.txt
M  +1    -0    src/CMakeLists.txt
M  +31   -4    src/account.ui
M  +67   -5    src/lib/accountmodel.cpp
M  +11   -1    src/lib/accountmodel.h

https://commits.kde.org/user-manager/b154c7522b639c54f9a0da889069255b327727f3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to