[Differential] [Request, 122 lines] D3658: Set Automatic login flag to adjust SDDM config directly

davidedmundson (David Edmundson) noreply at phabricator.kde.org
Tue Dec 13 00:03:12 UTC 2016


davidedmundson created this revision.
davidedmundson added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION 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.
  
  BUG: 363058

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

REPOSITORY
  R128 User Manager

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D3658

AFFECTED FILES
  CMakeLists.txt
  src/CMakeLists.txt
  src/account.ui
  src/lib/accountmodel.cpp
  src/lib/accountmodel.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: davidedmundson, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161213/5f8af6dd/attachment.html>


More information about the Plasma-devel mailing list