summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os-plugins/plugins/vmchooser/files/run-virt.sh26
-rw-r--r--os-plugins/plugins/vmware/files/run-virt.include1
2 files changed, 13 insertions, 14 deletions
diff --git a/os-plugins/plugins/vmchooser/files/run-virt.sh b/os-plugins/plugins/vmchooser/files/run-virt.sh
index bcd9f82a..308dbb0d 100644
--- a/os-plugins/plugins/vmchooser/files/run-virt.sh
+++ b/os-plugins/plugins/vmchooser/files/run-virt.sh
@@ -250,21 +250,19 @@ filecheck
# Get all virtual machine specific stuff from the respective include file
if [ -e ${PLUGINCONFDIR}/run-${virt_mach}.include ] ; then
. ${PLUGINCONFDIR}/run-${virt_mach}.include
- # start a windowmanager for player 2+
- # otherwise expect problems with windows opening in background
- if [ "${virt_mach}" = "vmware" ]; then
- 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
+ # start a windowmanager for easier handling
+ # (expect problems /w windows opening in background /w vmware without wm)
+ for dm in xfwm4 metacity openbox blackbox 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
- done
- fi
+ break
+ fi
+ done
${VIRTCMD} ${VIRTCMDOPTS}
writelog "Bye.\n"
exit 0
diff --git a/os-plugins/plugins/vmware/files/run-virt.include b/os-plugins/plugins/vmware/files/run-virt.include
index 6ad97b34..804c2f99 100644
--- a/os-plugins/plugins/vmware/files/run-virt.include
+++ b/os-plugins/plugins/vmware/files/run-virt.include
@@ -177,6 +177,7 @@ echo ".encoding = \"UTF-8\"
# updates/tips
webUpdate.enabled = \"FALSE\"
pref.downloadPermission = \"deny\"
+pref.vmplayer.downloadPermission = \"deny\"
pref.vmplayer.webUpdateOnStartup = \"FALSE\"
pref.tip.startup = \"FALSE\"
hints.hideAll = \"TRUE\"