From 6ec6f9c327594cf090d3982e8ec4e452ab5bafa5 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 21 Nov 2017 11:43:35 +0100 Subject: [vmware12] fix vmplayer not finding its libs --- core/modules/vmware12/data/opt/openslx/bin/vmplayer | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'core/modules/vmware12') diff --git a/core/modules/vmware12/data/opt/openslx/bin/vmplayer b/core/modules/vmware12/data/opt/openslx/bin/vmplayer index 05a4ec3a..f94c8794 100755 --- a/core/modules/vmware12/data/opt/openslx/bin/vmplayer +++ b/core/modules/vmware12/data/opt/openslx/bin/vmplayer @@ -5,12 +5,14 @@ PREFIX=/usr/lib/vmware # depends on the vmware location # HACK: Let the OpenGL driver report s3tc capability even if not present, so 3D will be enabled export force_s3tc_enable=true -# Turn off "helpful" DE features -export APPMENU_DISPLAY_BOTH=1 -export UBUNTU_MENUPROXY=0 -export GNOME_DISABLE_CRASH_DIALOG=1 - PROG=$(basename $0) -exec "$PREFIX/bin/$PROG" "$@" +# various hacks to help vmplayer find its own libs -.- +export VMWARE_USE_SHIPPED_LIBS=force +export LD_LIBRARY_PATH=$( find /usr/lib/vmware/lib/ -maxdepth 1 -mindepth 1 -type d | awk 'BEGIN{p=""}{p=p$0":"}END{print p}' ) + +exec "$PREFIX/lib/wrapper-gtk24.sh" \ + "$PREFIX/lib" \ + "$PREFIX/bin/$PROG" \ + "$PREFIX/libconf" "$@" -- cgit v1.2.3-55-g7522