From f63dc663a62b2858d17cba49640f73928507037a Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 21 Dec 2023 16:42:38 +0100 Subject: [run-virt] Run xfce4-power-manager if we have a backlight --- .../opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/modules/run-virt/data/opt') diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc index f73a34be..556aafd3 100644 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc @@ -93,6 +93,10 @@ start_wm() { declare -g RUNVIRT_TASKBAR_PID="$!" fi + # This script conditionally runs useful stuff, like xfce4's power manager that can handle + # backlight control keys, in case it sees there is a backlight + /opt/openslx/scripts/start-useful-session-daemons + if isempty HAVE_WM_CLEANUP_HOOK; then add_cleanup stop_wm declare -rg HAVE_WM_CLEANUP_HOOK=yes -- cgit v1.2.3-55-g7522