Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanek Bevendorff <janek@jbev.net>2017-02-09 23:35:17 +0300
committerJanek Bevendorff <janek@jbev.net>2017-02-10 03:55:09 +0300
commitd1b403333cb4b3c9056abfc3e6704b911dba33d9 (patch)
treec6a5a4f91cab548e9760397c19cc2a530615e7d0 /AppImage-Recipe.sh
parent6c45fcbfc740ea8bf23e408d8f9f5d0597a63f36 (diff)
Unset XDG_DATA_DIRS before launching app, resolves #194, reverts #273
Diffstat (limited to 'AppImage-Recipe.sh')
-rwxr-xr-xAppImage-Recipe.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/AppImage-Recipe.sh b/AppImage-Recipe.sh
index ba47e1b2d..2459bfcc1 100755
--- a/AppImage-Recipe.sh
+++ b/AppImage-Recipe.sh
@@ -74,6 +74,11 @@ cat << EOF > ./usr/bin/keepassxc_env
#export QT_QPA_PLATFORMTHEME=gtk2
export LD_LIBRARY_PATH="../opt/qt58/lib:\${LD_LIBRARY_PATH}"
export QT_PLUGIN_PATH="..${QT_PLUGIN_PATH}"
+
+# unset XDG_DATA_DIRS to make tray icon work in Ubuntu Unity
+# see https://github.com/probonopd/AppImageKit/issues/351
+unset XDG_DATA_DIRS
+
exec keepassxc "\$@"
EOF
chmod +x ./usr/bin/keepassxc_env