From e1d3450e7b0de150a5a21ee9db965d031c5fd7ca Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Wed, 4 Nov 2009 16:05:51 +0000 Subject: start wm per default for vmware git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3199 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/vmchooser/files/run-virt.sh | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'os-plugins/plugins/vmchooser/files/run-virt.sh') diff --git a/os-plugins/plugins/vmchooser/files/run-virt.sh b/os-plugins/plugins/vmchooser/files/run-virt.sh index 08d43fe4..bcd9f82a 100644 --- a/os-plugins/plugins/vmchooser/files/run-virt.sh +++ b/os-plugins/plugins/vmchooser/files/run-virt.sh @@ -253,21 +253,17 @@ if [ -e ${PLUGINCONFDIR}/run-${virt_mach}.include ] ; then # start a windowmanager for player 2+ # otherwise expect problems with windows opening in background if [ "${virt_mach}" = "vmware" ]; then - case "$vmversion" in - 2.0|6.0|2.5|6.5) - for dm in metacity kwin fvwm2 ; do - if which $dm >/dev/null 2>&1 ; then - if [ "$dm" = "fvwm2" ] ; then - echo "EdgeScroll 0 0" > ${redodir}/fvwm - fvwm2 -f ${redodir}/fvwm >/dev/null 2>&1 & - else - $dm >/dev/null 2>&1 & - fi - break - fi - done - ;; - esac + for dm in metacity kwin fvwm2 ; do + if which $dm >/dev/null 2>&1 ; then + if [ "$dm" = "fvwm2" ] ; then + echo "EdgeScroll 0 0" > ${redodir}/fvwm + fvwm2 -f ${redodir}/fvwm >/dev/null 2>&1 & + else + $dm >/dev/null 2>&1 & + fi + break + fi + done fi ${VIRTCMD} ${VIRTCMDOPTS} writelog "Bye.\n" -- cgit v1.2.3-55-g7522