]> git.somenet.org - pub/jan/scripts.git/blob - runvm.sh
run a vm in a new X session + synergy + kbindkeys
[pub/jan/scripts.git] / runvm.sh
1 xhost +local:
2 sed -e 's/#VMNAME#/'$1'/g' ~/s/runvm.xbindkeysrc.template > ~/.xbindkeysrc.template.$1
3 xbindkeys -f ~/.xbindkeysrc.template.$1
4 /usr/bin/synergyc -f --debug ERROR --name fujivm 10.11.0.1:24800 &
5 VirtualBox --startvm $1 --fullscreen
6 rm ~/.xbindkeysrc.template.$1