Fixes and improvements for power/logout handling.

This commit is contained in:
Andreas B. Mundt 2023-09-03 20:25:34 +02:00
parent f7eba29ba4
commit 51cb0a2804
2 changed files with 13 additions and 2 deletions

View file

@ -108,16 +108,27 @@
mode: 0644
- name: Restrict some user actions
- name: Configure some KDE aspects
blockinfile:
path: /etc/xdg/kdeglobals
create: true
block: |
[KDE]
SingleClick=false
[KDE Action Restrictions][$i]
action/start_new_session=false
#action/switch_user=false
#action/lock_screen=false
- name: Shut down when idle for too long
ansible.builtin.copy:
dest: /etc/xdg/powermanagementprofilesrc
content: |
[AC][SuspendSession][$i]
idleTime=36000000
suspendType=8
#- name: Disable automatic lock screen and user specific modifications
# ansible.builtin.copy:
# path: /etc/xdg/kscreenlockerrc