aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-04 10:10:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-04 10:10:28 -0300
commit43c24a15212f4971ff57d69d62d5ab383ff6d17c (patch)
tree3560622115882df650192896d6023102c0e280f8
parent2d6cf34747ed47e2fe8e30982d737d87113c972d (diff)
downloadkvmx-43c24a15212f4971ff57d69d62d5ab383ff6d17c.tar.gz
kvmx-43c24a15212f4971ff57d69d62d5ab383ff6d17c.tar.bz2
Fix: docs: on xclient_windowmove
-rwxr-xr-xkvmx6
-rw-r--r--kvmxfile8
2 files changed, 13 insertions, 1 deletions
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"