From 2a3a857d9c208a4c61cee8a054ae8db1b480b992 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Mon, 9 Mar 2009 18:02:02 +0000 Subject: renamed and xml template and added xml comments start fvwm when vmplayer2+ is userd, otherwise windows start in the background x=0 and y=0 upper left corner :( git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2702 95ad53e4-c205-0410-b2fa-d234c58c8868 --- .../files/Vorlage_VMwareImageAdministrator.xml | 65 -------------------- os-plugins/plugins/vmchooser/files/run-virt.sh | 11 ++++ os-plugins/plugins/vmchooser/files/vm-template.xml | 70 ++++++++++++++++++++++ 3 files changed, 81 insertions(+), 65 deletions(-) delete mode 100755 os-plugins/plugins/vmchooser/files/Vorlage_VMwareImageAdministrator.xml create mode 100755 os-plugins/plugins/vmchooser/files/vm-template.xml (limited to 'os-plugins/plugins') diff --git a/os-plugins/plugins/vmchooser/files/Vorlage_VMwareImageAdministrator.xml b/os-plugins/plugins/vmchooser/files/Vorlage_VMwareImageAdministrator.xml deleted file mode 100755 index 9235c5fd..00000000 --- a/os-plugins/plugins/vmchooser/files/Vorlage_VMwareImageAdministrator.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - # Imagename with proper suffix - - - # Information of the image creator - - - - - - - # Short description, shown in the menu - - - # Define long description shown when the Image is chosen - - - #os running in vmware, needed for vmware config file - - - # Network nat or bridged? - - - # values: vmware or virtualbox - - - #Description: Should the current image in use? if yes value is "true" - - - #Description: The ID of the user. - - - #Description: where should the current image be used? in the past slxgrp - - - #Description: as xdm menu? If yes "true", else "false" - - - #Description: priority, use a number to get it to a special position - # should only be used by our department and noone else - - - #Description: Should printers be connected ? Which ? - - Human readable description - - #Description: Should scanners be connected ? Which ? - - Description - - #Description: Should the Homedrive be connected ? - - - #Description: Should shared drives be connected ? Which ? - - - - # there is the ability to protect an image for a while using a - # password. Helpfull for courses (with special software licences). - - - - diff --git a/os-plugins/plugins/vmchooser/files/run-virt.sh b/os-plugins/plugins/vmchooser/files/run-virt.sh index 5c14e591..65e61499 100644 --- a/os-plugins/plugins/vmchooser/files/run-virt.sh +++ b/os-plugins/plugins/vmchooser/files/run-virt.sh @@ -217,6 +217,17 @@ filecheck # Get all virtual machine specific stuff from the respective include file if [ -e /etc/opt/openslx/run-${virt_mach}.include ] ; then . /etc/opt/openslx/run-${virt_mach}.include + # start fvwm for player 2+ + # problems with windows opening in background + if [ "${virt_mach}" = "vmware" ]; then + case "$vmversion" in + 2.0|6.0|2.5|6.5) + which fvwm2 >/dev/null 2>&1 && \ + ( echo "EdgeScroll 0 0" > ${redodir}/fvwm + fvwm2 -f ${redodir}/fvwm >/dev/null 2>&1 & ) + ;; + esac + fi ${VIRTCMD} ${VIRTCMDOPTS} writelog "Bye.\n" exit 0 diff --git a/os-plugins/plugins/vmchooser/files/vm-template.xml b/os-plugins/plugins/vmchooser/files/vm-template.xml new file mode 100755 index 00000000..ce4eb343 --- /dev/null +++ b/os-plugins/plugins/vmchooser/files/vm-template.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + Image for lectures with a lot of software: office, ... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3-55-g7522