em
/
gjk-ansible-fedora
Archived
1
0
Fork 0

Set screensaver and lock delay

master
Emil Miler 2 years ago
parent 0341aa86c9
commit 7000e883bd

@ -0,0 +1,8 @@
[org/gnome/desktop/session]
# Number of seconds of inactivity before the screen goes blank
# Set to 0 seconds if you want to deactivate the screensaver.
idle-delay=uint32 1800
[org/gnome/desktop/screensaver]
# Number of seconds after the screen is blank before locking the screen
lock-delay=uint32 60

@ -0,0 +1,8 @@
[org/gnome/desktop/session]
# Number of seconds of inactivity before the screen goes blank
# Set to 0 seconds if you want to deactivate the screensaver.
idle-delay=uint32 180
[org/gnome/desktop/screensaver]
# Number of seconds after the screen is blank before locking the screen
lock-delay=uint32 10

@ -23,13 +23,24 @@
- name: GDM login screen configuration - don't show all users
copy:
src: 'gdm/login-screen'
dest: '/etc/dconf/db/gdm.d/login-screen'
dest: '/etc/dconf/db/gdm.d/login-screen'
- name: GDM login screen configuration - disable accessibility
# Not working, perhaps broken GDM
copy:
src: 'gdm/accessibility'
dest: '/etc/dconf/db/gdm.d/accessibility'
dest: '/etc/dconf/db/gdm.d/accessibility'
- name: GDM screensaver with short delay
copy:
src: 'gdm/screensaver-short'
dest: '/etc/dconf/db/local.d/screensaver'
- name: GDM screensaver with long delay
when: inventory_hostname in groups['ucitelske']
copy:
src: 'gdm/screensaver-long'
dest: '/etc/dconf/db/local.d/screensaver'
- name: Update dconf database
command: "dconf update"