Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
- ---
-
- - name: ensure old screensavers are absent
- apt:
- pkg:
- - light-locker
- - xscreensaver
- state: absent
-
- - name: install required debian packages
- apt:
- pkg:
- - mate-screensaver
- - xscreensaver-gl
- - python3
- - mate-power-manager
- - xautolock
- - xss-lock
- - xbacklight
- - i3lock
-
- - name: gdmflexiserver dummy script
- copy:
- src: gdmflexiserver-fake.sh
- dest: /usr/local/bin/gdmflexiserver
- mode: 0755
-
- # Bug: https://github.com/mate-desktop/mate-screensaver/issues/57
- # https://gist.github.com/alexander255/9b991816418e4e60ee7c
- - name: mate-screensaver-helper-inhibition script
- copy:
- src: mate-screensaver-helper-inhibition.py
- dest: /usr/local/bin/mate-screensaver-helper-inhibition
- mode: 0755
-
- - name: screensaver settings script
- template:
- src: screensaver-settings.sh.j2
- dest: /usr/local/bin/screensaver-settings
- mode: 0755
-
- - name: screensaver start script
- template:
- src: screensaver-start.sh.j2
- dest: /usr/local/bin/screensaver-start
- mode: 0755
-
- - name: screensaver lock script
- template:
- src: screensaver-lock.sh.j2
- dest: /usr/local/bin/screensaver-lock
- mode: 0755
-
- - import_role:
- name: dconf-lock
- vars:
- dconf_lock_id: screensaver
- dconf_lock_settings:
- /org/mate/screensaver:
- idle-activation-enabled: 'true'
- lock-enabled: 'true'
- mode: "'single'"
- themes: "['{{screensaver_theme}}']"
- /org/mate/desktop/session:
- idle-delay: "{{ screensaver_locktime | int }}"
- /org/mate/power-manager:
- sleep-display-ac: "{{ screensaver_sleeptime | int * 60 }}"
- dconf_lock_paths:
- - /org/mate/desktop/session/idle-delay
- - /org/mate/screensaver/idle-activation-enabled
- - /org/mate/screensaver/lock-enabled
- - /org/mate/screensaver/mode
- - /org/mate/screensaver/themes
- - /org/mate/power-manager/sleep-display-ac
|