From 908676a19cbba9f4b9c929bd438f95b0ffd861c6 Mon Sep 17 00:00:00 2001 From: vhaudiquet Date: Fri, 29 Aug 2025 10:56:59 +0200 Subject: [PATCH] Updated launcher/desktop closer to upstream --- zen-browser.desktop | 20 +++++++++++--------- zen-browser.launcher | 5 ++++- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/zen-browser.desktop b/zen-browser.desktop index 7774bdc..bf300a4 100644 --- a/zen-browser.desktop +++ b/zen-browser.desktop @@ -1,26 +1,28 @@ [Desktop Entry] Version=1.14.11b Name=Zen Browser -GenericName=Web Browser -Comment=Welcome to a calmer internet -Keywords=Internet;WWW;Browser;Web;Explorer -Exec=/usr/lib/zen/zen-bin %U +Exec=/usr/lib/zen/zen-browser.launcher %U Icon=/usr/share/icons/hicolor/128x128/apps/zen-browser.png -Terminal=false Type=Application MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;application/pdf;application/json; -StartupWMClass=Zen Browser +StartupWMClass=zen Categories=Network;WebBrowser; +StartupNotify=true +Terminal=false +X-MultipleArgs=false +Keywords=Internet;WWW;Browser;Web;Explorer Actions=new-window;new-private-window;profile-manager-window; +GenericName=Web Browser +Comment=Welcome to a calmer internet [Desktop Action new-window] Name=Open a New Window -Exec=/usr/lib/zen/zen-bin --new-window %u +Exec=/usr/lib/zen/zen-browser.launcher %u [Desktop Action new-private-window] Name=Open a New Private Window -Exec=/usr/lib/zen/zen-bin --private-window %u +Exec=/usr/lib/zen/zen-browser.launcher --private-window %u [Desktop Action profile-manager-window] Name=Open the Profile Manager -Exec=/usr/lib/zen/zen-bin --ProfileManager %u \ No newline at end of file +Exec=/usr/lib/zen/zen-browser.launcher --ProfileManager %u \ No newline at end of file diff --git a/zen-browser.launcher b/zen-browser.launcher index 8465ab8..6d95145 100644 --- a/zen-browser.launcher +++ b/zen-browser.launcher @@ -1 +1,4 @@ -exec "$SNAP/usr/lib/zen/zen-bin" "$@" \ No newline at end of file +#!/bin/bash +export TMPDIR=$XDG_CACHE_HOME/tmp + +exec "$SNAP/usr/lib/zen/zen" "$@" \ No newline at end of file