2 HERE
="$(dirname "$
(readlink
-f "${0}")")"
3 export PATH
="${HERE}"/usr/bin/:"${HERE}"/usr/sbin/:"${HERE}"/usr/games/:"${HERE}"/bin/:"${HERE}"/sbin/:"${PATH}"
4 export LD_LIBRARY_PATH
="${HERE}"/usr/lib/:"${HERE}"/usr/lib/i386-linux-gnu/:"${HERE}"/usr/lib/x86_64-linux-gnu/:"${HERE}"/usr/lib32/:"${HERE}"/usr/lib64/:"${HERE}"/lib/:"${HERE}"/lib/i386-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/lib32/:"${HERE}"/lib64/:"${LD_LIBRARY_PATH}"
5 export PYTHONPATH
="${HERE}"/usr
/share
/pyshared
/:"${PYTHONPATH}"
6 export XDG_DATA_DIRS
="${HERE}"/usr
/share
/:"${XDG_DATA_DIRS}"
7 export PERLLIB
="${HERE}"/usr/share/perl5/:"${HERE}"/usr/lib/perl5/:"${PERLLIB}"
8 export GSETTINGS_SCHEMA_DIR
="${HERE}"/usr
/share
/glib-2.0
/schemas
/:"${GSETTINGS_SCHEMA_DIR}"
9 export QT_PLUGIN_PATH
="${HERE}"/usr/lib/qt4/plugins/:"${HERE}"/usr/lib/i386-linux-gnu/qt4/plugins/:"${HERE}"/usr/lib/x86_64-linux-gnu/qt4/plugins/:"${HERE}"/usr/lib32/qt4/plugins/:"${HERE}"/usr/lib64/qt4/plugins/:"${HERE}"/usr/lib/qt5/plugins/:"${HERE}"/usr/lib/i386-linux-gnu/qt5/plugins/:"${HERE}"/usr/lib/x86_64-linux-gnu/qt5/plugins/:"${HERE}"/usr/lib32/qt5/plugins/:"${HERE}"/usr/lib64/qt5/plugins/:"${QT_PLUGIN_PATH}"
10 EXEC
=$
(grep -e '^Exec=.*' "${HERE}"/*.desktop |
head -n 1 | cut
-d "=" -f 2 | cut
-d " " -f 1)