diff options
author | Simon Rettberg | 2020-08-17 17:28:03 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-08-17 17:28:03 +0200 |
commit | 25ec385c17c796af34b10128f27a5334ad2d2a7e (patch) | |
tree | 09db9ad4bb13d214cba30db9ea86e087f4488135 /core/modules/vmware-common | |
parent | [kiosk-chromium] remove weird space (diff) | |
download | mltk-25ec385c17c796af34b10128f27a5334ad2d2a7e.tar.gz mltk-25ec385c17c796af34b10128f27a5334ad2d2a7e.tar.xz mltk-25ec385c17c796af34b10128f27a5334ad2d2a7e.zip |
[run-virt/vmware-common] Use blackbox if > 1 screen
TODO: Add blackbox module
Diffstat (limited to 'core/modules/vmware-common')
-rw-r--r-- | core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include index 33d9de29..548dc97d 100644 --- a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include +++ b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include @@ -45,6 +45,12 @@ run_plugin() { # For debugging cp "$VM_RUN_FILE" "/tmp/vmware-last-config" + # If we have multi-screen, try to switch to blackbox, seems the only + # lean WM to handle this properly. + if [ "$DISPLAY_COUNT" -gt 1 ] && command -v blackbox > /dev/null; then + start_wm "blackbox" + fi + # HACK: make the mouse disappear ( local WINDOWS="$(xdotool search --sync --name '.*VMware.*Player.*')" |