diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-04-15 17:01:29 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-04-15 17:01:29 -0300 |
commit | 8d87ca5155aa95bf3b3ab94e419cc46ab862becd (patch) | |
tree | ebe445a279a02687e75ba1d473911a94bdc4dccb | |
parent | 1e0962a05a99456ea6bba97065c1e63aa3f0b881 (diff) | |
download | kvmx-8d87ca5155aa95bf3b3ab94e419cc46ab862becd.tar.gz kvmx-8d87ca5155aa95bf3b3ab94e419cc46ab862becd.tar.bz2 |
Run kvmx_xrandr when connecting using spice
-rwxr-xr-x | kvmx | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -249,6 +249,11 @@ function kvmx_spice { xdotool search --name "SPICEc:0" set_window --name $VM fi + # Set screen resolution + if [ "$xrandr" == "1" ]; then + kvmx_xrandr + fi + # Restart vdagent if [ "$ssh_support" == "y" ]; then echo "which kvmx-vdagent > /dev/null && DISPLAY=:0 kvmx-vdagent" | kvmx_ssh |