Load dconf file
This commit is contained in:
parent
86ca1f67f4
commit
84da86c54a
9
roles/04_desktop/files/gsettings.dconf
Normal file
9
roles/04_desktop/files/gsettings.dconf
Normal file
|
@ -0,0 +1,9 @@
|
|||
[org/gnome/desktop/session]
|
||||
# Disable screen idle lock
|
||||
idle-delay=uint32 0
|
||||
|
||||
[org/gnome/settings-daemon/plugins/power]
|
||||
# Power-off on power button
|
||||
power-button-action='interactive'
|
||||
# Disable sleep
|
||||
sleep-display-ac-type='nothing'
|
|
@ -1,12 +1,3 @@
|
|||
---
|
||||
- name: Power button behaviour
|
||||
community.general.dconf:
|
||||
key: "/org/gnome/settings-daemon/plugins/power/power-button-action/"
|
||||
value: "interactive"
|
||||
state: present
|
||||
|
||||
- name: Power button behaviour
|
||||
community.general.dconf:
|
||||
key: "/org/gnome/settings-daemon/plugins/power/sleep-inactive-ac-type/"
|
||||
value: "nothing"
|
||||
state: present
|
||||
- name: Apply dconf settings
|
||||
ansible.builtin.command: dconf load < {{ gesttings.dconf }}
|
Loading…
Reference in New Issue
Block a user