diff options
-rwxr-xr-x | kvmx | 6 | ||||
-rw-r--r-- | kvmxfile | 8 |
2 files changed, 13 insertions, 1 deletions
@@ -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 @@ -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" |