TYPE3
[iec.git] / src / type3_AndroidCloud / anbox-master / data / xsession.conf
diff --git a/src/type3_AndroidCloud/anbox-master/data/xsession.conf b/src/type3_AndroidCloud/anbox-master/data/xsession.conf
new file mode 100644 (file)
index 0000000..fcd0cb5
--- /dev/null
@@ -0,0 +1,11 @@
+# This file is sourced by Xsession(5), not executed.
+# Add additional anbox desktop path
+if [ -z "$XDG_DATA_DIRS" ]; then
+    # 60x11-common_xdg_path does not always set XDG_DATA_DIRS
+    # so we ensure we have sensible defaults here (LP: #1575014)
+    # as a workaround
+    XDG_DATA_DIRS=/usr/local/share/:/usr/share/:$HOME/snap/anbox/common/app-data
+else
+    XDG_DATA_DIRS="$XDG_DATA_DIRS":$HOME/snap/anbox/common/app-data
+fi
+export XDG_DATA_DIRS