From 43c24a15212f4971ff57d69d62d5ab383ff6d17c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 4 Aug 2024 10:10:28 -0300 Subject: Fix: docs: on xclient_windowmove --- kvmx | 6 +++++- kvmxfile | 8 ++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/kvmx b/kvmx index 2819599..b234f5c 100755 --- a/kvmx +++ b/kvmx @@ -295,8 +295,12 @@ function kvmx_spice { # Give time to connect sleep 2 - # Fix window title an position + # Fix window title and position if which /usr/bin/xdotool &> /dev/null; then + # Set window position + # + # Configuration xclient_windowmove can be set either at kvmxconfig + # or as a user setting at ~/.config/kvmxconfig (which will affect all guests). if [ ! -z "$xclient_windowmove" ]; then #xdotool search --name "SPICEc:0" windowmove $xclient_windowmove xdotool search --name "spice display 0:0" windowmove $xclient_windowmove diff --git a/kvmxfile b/kvmxfile index 0e7e56f..dab6f2d 100644 --- a/kvmxfile +++ b/kvmxfile @@ -132,6 +132,14 @@ run_spice_client="0" #spice_client="virt-viewer" spice_client="spicy" +# Move the SPICE window client to a specific position in the desktop. +# +# Configuration xclient_windowmove can be set either at kvmxconfig +# or as a user setting at ~/.config/kvmxconfig (which will affect all guests). +# +# Example: move X11 client window below the WM bar +#xclient_windowmove="0 21" + # Set this if you want that kvmx-vdagent is triggered after the machine boots. kvmx_vdagent="0" -- cgit v1.2.3