diff options
author | Jonathan Bauer | 2017-11-21 11:43:35 +0100 |
---|---|---|
committer | Jonathan Bauer | 2017-11-21 11:43:35 +0100 |
commit | 6ec6f9c327594cf090d3982e8ec4e452ab5bafa5 (patch) | |
tree | 7a836b84a9ed4d5fa7a8048bbf0b29e1c6249aef /core | |
parent | [vmware12] Restore old start script (diff) | |
download | mltk-6ec6f9c327594cf090d3982e8ec4e452ab5bafa5.tar.gz mltk-6ec6f9c327594cf090d3982e8ec4e452ab5bafa5.tar.xz mltk-6ec6f9c327594cf090d3982e8ec4e452ab5bafa5.zip |
[vmware12] fix vmplayer not finding its libs
Diffstat (limited to 'core')
-rwxr-xr-x | core/modules/vmware12/data/opt/openslx/bin/vmplayer | 14 |
1 files changed, 8 insertions, 6 deletions
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" "$@" |