Multimedia - Shutdown multimedia qubes after 3 idle minutes.

Refresh packages before installation.
This commit is contained in:
unman 2022-09-24 11:23:12 +00:00
parent 40bc29b0e6
commit 7d0383ac5a
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C
2 changed files with 10 additions and 3 deletions

View File

@ -47,6 +47,9 @@ multimedia-features:
- appemenus-dispvm: True
- disable:
- service.cups
- enable:
- service.shutdown-idle
media-present-id:
qvm.present:

View File

@ -13,6 +13,10 @@ update_sources:
- flags: [ 'IGNORECASE', 'MULTILINE' ]
{% endif %}
base_packages:
pkg.uptodate:
- refresh: True
vlc.packages:
pkg.installed:
- pkgs:
@ -126,6 +130,6 @@ apt-get clean:
trim_idleness:
file.replace:
- name: /usr/lib/python3/dist-packages/qubesidle/idleness_monitor.py
- pattern: TIMEOUT_SECONDS = 15
- repl: TIMEOUT_SECONDS = 3
- name: /lib/python3/dist-packages/qubesidle/idleness_monitor.py
- pattern: '15 \* 60'
- repl: '3 * 60'