From: Silvio Rhatto Date: Mon, 12 Nov 2018 13:18:43 +0000 (-0200) Subject: Run xrandr only if spice client is in use X-Git-Tag: 0.1.0~160 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ff3e09ca5e3d37406757013dad2fcbdebc80eca7;p=kvmx.git Run xrandr only if spice client is in use --- diff --git a/kvmx b/kvmx index b902ba3..4ab07dd 100755 --- a/kvmx +++ b/kvmx @@ -620,7 +620,7 @@ function kvmx_up { IFS="$old_ifs" fi - if [ "$xrandr" == "1" ]; then + if [ "$xrandr" == "1" ] && [ "$run_spice_client" == "1" ]; then echo "Waiting for X11 to come up so we can set machine resolution..." sleep 8 kvmx_xrandr