--- a/pano2vr.sh	2014-07-28 11:27:33.911207314 +0200
+++ b/pano2vr.sh	2014-07-28 11:33:30.961219971 +0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 appname=pano2vr
-dirname="`dirname $0`"
+dirname="/opt/$appname"
 unset QT_PLUGIN_PATH
 export LD_LIBRARY_PATH="$dirname/qtlib"
 "$dirname/bin/$appname" "$@"
\ No newline at end of file
