From 3d653d5a03e6115c34abfa12230409db9ef26d42 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Thu, 13 Apr 2006 17:35:52 +0000 Subject: defaults changed to full path winconfig changed to not use res w/ vmplayer locations not needed? \r added to old runvmware new runvmware bigfixes git-svn-id: http://svn.openslx.org/svn/openslx/ld4@188 95ad53e4-c205-0410-b2fa-d234c58c8868 --- vmware/winconfig | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'vmware/winconfig') diff --git a/vmware/winconfig b/vmware/winconfig index 750dd22c..8ac8d149 100644 --- a/vmware/winconfig +++ b/vmware/winconfig @@ -8,6 +8,18 @@ hostres=$(xvidtune -show | grep -ve "^$") x_param=$(echo "${hostres}" | awk '{print $3}') y_param=$(echo "${hostres}" | awk '{print $7}') +resolution=" + \r + \r + \r + \r" + + +# VMplayer does not need resolution change +if [ `which vmplayer 2>/dev/null` ] && [ -z "${vmrun}" ] \ + || [ "${vmrun}" = "vmplayer" ]; then + resolution= +fi # sync is needed to ensure that data is really written to virtual disk sync @@ -15,13 +27,9 @@ echo -e "\r \r \r \r - - \r - \r - \r - \r + \r \r - \r + \r${resolution} \r \r" \ > /media/loop0/config.xml -- cgit v1.2.3-55-g7522