Bläddra i källkod

mate-power-manager

master
förälder
incheckning
05343a3b15
2 ändrade filer med 6 tillägg och 1 borttagningar
  1. +1
    -0
      defaults/main.yaml
  2. +5
    -1
      tasks/main.yaml

+ 1
- 0
defaults/main.yaml Visa fil

@@ -1,3 +1,4 @@
---
screensaver_locktime: 10
screensaver_theme: screensavers-popsquares
screensaver_sleeptime: "{{screensaver_locktime}}"

+ 5
- 1
tasks/main.yaml Visa fil

@@ -7,12 +7,13 @@
- xscreensaver
state: absent

- name: install mate-screensaver
- name: install required debian packages
apt:
pkg:
- mate-screensaver
- xscreensaver-gl
- python3
- mate-power-manager

- name: gdmflexiserver dummy script
copy:
@@ -40,9 +41,12 @@
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