Skip to content

Commit 12644bd

Browse files
committed
Uninstall xfce4-screensaver
1 parent c629dd4 commit 12644bd

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

data_safe_haven/resources/workspace/ansible/desired_state.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,20 @@
170170
dest: /etc/xdg/xfce4/terminal/
171171
mode: '0444'
172172

173-
- name: Disable xfce4 screen saver (screen lock)
174-
ansible.builtin.lineinfile:
175-
path: /etc/xdg/autostart/xfce4-screensaver.desktop
176-
line: 'Hidden=true'
177-
state: present
173+
# This doesn't work
174+
# Possibly a bug in xfce4 < 4.18
175+
# https://gitlab.xfce.org/apps/xfce4-screensaver/-/issues/55
176+
# - name: Disable xfce4 screen saver (screen lock)
177+
# ansible.builtin.lineinfile:
178+
# path: /etc/xdg/autostart/xfce4-screensaver.desktop
179+
# line: 'Hidden=true'
180+
# state: present
181+
182+
# Workaround for disabling screen lock
183+
- name: Uninstall xfce4-screensaver
184+
ansible.builtin.apt:
185+
name: xfce4-screensaver
186+
state: absent
178187

179188
- name: Use a blank screensaver
180189
ansible.builtin.lineinfile:

0 commit comments

Comments
 (0)