Explorar el Código

get rid of xscreensaver finally

master
padre
commit
5c31edf2b5
Se han modificado 3 ficheros con 4 adiciones y 55 borrados
  1. +0
    -2
      defaults/main.yaml
  2. +4
    -19
      tasks/main.yaml
  3. +0
    -34
      templates/Xresources.xscreensaver.j2

+ 0
- 2
defaults/main.yaml Ver fichero

@@ -1,3 +1 @@
---
xscreensaver_dpms: true
xscreensaver_timeout: 900

+ 4
- 19
tasks/main.yaml Ver fichero

@@ -4,28 +4,13 @@
apt:
pkg:
- light-locker
- xscreensaver
state: absent

- name: uninstall light-locker-settings
file:
path: "{{ item }}"
state: absent
with_items:
- /usr/bin/light-locker-settings
- /usr/share/applications/light-locker-settings.desktop
- /usr/share/light-locker-settings
- /usr/share/doc/light-locker-settings
- /opt/light-locker-settings-1.5.3
- /opt/light-locker-settings-1.5.3.tar.bz2

- name: install xscreensaver
- name: install mate-screensaver
apt:
pkg: xscreensaver

- name: xscreensaver default settings
template:
src: Xresources.xscreensaver.j2
dest: /etc/X11/Xresources/xscreensaver
pkg:
- mate-screensaver

- name: gdmflexiserver dummy script
copy:


+ 0
- 34
templates/Xresources.xscreensaver.j2 Ver fichero

@@ -1,34 +0,0 @@
xscreensaver.mode: blank

xscreensaver.timeout: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.lockTimeout: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.passwdTimeout: 0:00:30

{% if xscreensaver_dpms %}
xscreensaver.dpmsEnabled: True
xscreensaver.dpmsQuickoffEnabled: True
xscreensaver.dpmsStandby: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.dpmsSuspend: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.dpmsOff: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
{% else %}
xscreensaver.dpmsEnabled: False
xscreensaver.dpmsQuickoffEnabled: False
{% endif %}

xscreensaver.grabDesktopImages: False
xscreensaver.grabVideoFrames: False
xscreensaver.chooseRandomImages: True

xscreensaver.lock: True

xscreensaver.fade: False
xscreensaver.unfade: False

xscreensaver.splash: False

xscreensaver.passwd.heading.label: Sperrbildschirm
xscreensaver.passwd.body.label: Dieser Bildschirm ist gesperrt.
xscreensaver.passwd.unlock.label: OK
xscreensaver.passwd.login.label: Benutzer wechseln

xscreensaver.textMode: date