您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
|
- ---
-
- - name: ensure old screensavers are absent
- apt:
- pkg:
- - light-locker
- - xscreensaver
- state: absent
-
- - 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
-
- - import_tasks: dconf-lock.yaml
- 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
- when: screensaver_enforce_settings
|