Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(flatpak): show the tray icon on GNOME
Elian Doran40bb48f98be1
diff --git a/apps/desktop/flatpak/trilium.sh b/apps/desktop/flatpak/trilium.shindex 4ef7d255ea..dc5a0aff62 100755--- a/apps/desktop/flatpak/trilium.sh+++ b/apps/desktop/flatpak/trilium.sh@@ -9,4 +9,8 @@ if [ -z "${TRILIUM_DATA_DIR:-}" ]; thenfifi+# Chromium hands GNOME's tray its icon as a file in TMPDIR; the sandbox's /tmp is private,+# while this directory has the same path on the host.+export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID"+exec zypak-wrapper /app/lib/electron/trilium /app/lib/trilium "$@"