diff options
Diffstat (limited to 'inspire.sh')
-rw-r--r-- | inspire.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/inspire.sh b/inspire.sh index 2d99582cb71e..7c594ef3040c 100644 --- a/inspire.sh +++ b/inspire.sh @@ -2,7 +2,7 @@ # This script launches ActivInspire. It is partially based on the upstream launch script, with obsolete and Ubuntu-specific stuff fixed or removed. -cd /usr/bin/activsoftware +cd /opt/activsoftware # Promethean software has a bug that often causes it to hang when attempting to close it using the GUI. So we need to kill those instances before launching a new one. killall -q Inspire @@ -11,8 +11,12 @@ killall -q Inspire export JAVA_HOME=/usr/lib32/jvm/java32-8-jre/jre # Promethean ships ActivInspire with a bunch of libraries. We can't recompile it and there are less problems when using this library versions. -export LD_LIBRARY_PATH="/usr/bin/activsoftware:/usr/bin/activsoftware/workbench:/usr/bin/activsoftware/workbench/lib:/usr/bin/activsoftware/32bit_libs_for_64bit_OS:$LD_LIBRARY_PATH" -export GST_PLUGIN_PATH="/usr/bin/activsoftware/32bit_libs_for_64bit_OS:$GST_PLUGIN_PATH" -export QTWEBKIT_PLUGIN_PATH="/usr/bin/activsoftware/32bit_libs_for_64bit_OS:$QTWEBKIT_PLUGIN_PATH" +export LD_LIBRARY_PATH="/opt/activsoftware:/opt/activsoftware/workbench:/opt/activsoftware/workbench/lib:/opt/activsoftware/32bit_libs_for_64bit_OS:$LD_LIBRARY_PATH" +export GST_PLUGIN_PATH="/opt/activsoftware/32bit_libs_for_64bit_OS:$GST_PLUGIN_PATH" +export QTWEBKIT_PLUGIN_PATH="/opt/activsoftware/32bit_libs_for_64bit_OS:$QTWEBKIT_PLUGIN_PATH" +# Launch and open the file if one was given as an argument. ./Inspire "$@" + +# This is a lock file. Since ActivInspire hangs when attempting to close it, it never gets deleted, causing problems. +rm -f /dev/shm/sem.promethean
\ No newline at end of file |