From 817977ca5baedeb83042f6f06280a7c736f1e63e Mon Sep 17 00:00:00 2001 From: digiArchitect <66040569+digiArchitect@users.noreply.github.com> Date: Mon, 6 Jul 2026 23:57:32 -0400 Subject: [PATCH] Use portable flatpak command in .desktop launcher Replace hardcoded /usr/bin/flatpak with bare 'flatpak' so the launcher works on distros where flatpak lives elsewhere (e.g. NixOS), and drop --arch=x86_64 so the native architecture is used on ARM machines. Fixes #127 Co-Authored-By: Claude Fable 5 --- .local/share/applications/org.gimp.GIMP.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/share/applications/org.gimp.GIMP.desktop b/.local/share/applications/org.gimp.GIMP.desktop index cbc1183..d62d9bf 100644 --- a/.local/share/applications/org.gimp.GIMP.desktop +++ b/.local/share/applications/org.gimp.GIMP.desktop @@ -138,7 +138,7 @@ Comment[zh_CN]=创建图像或编辑照片 Comment[zh_HK]=建立圖像與編輯照片 Comment[zh_TW]=建立圖像與編輯照片 Icon=photogimp -Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=gimp --file-forwarding org.gimp.GIMP @@u %U @@ +Exec=flatpak run --branch=stable --command=gimp --file-forwarding org.gimp.GIMP @@u %U @@ Actions= MimeType=image/bmp;image/g3fax;image/gif;image/x-fits;image/x-pcx;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-psd;image/x-sgi;image/x-tga;image/x-xbitmap;image/x-xwindowdump;image/x-xcf;image/x-compressed-xcf;image/x-gimp-gbr;image/x-gimp-pat;image/x-gimp-gih;image/tiff;image/jpeg;image/x-psp;application/postscript;image/png;image/x-icon;image/x-xpixmap;image/x-exr;image/x-webp;image/heif;image/heic;image/svg+xml;application/pdf;image/x-wmf;image/jp2;image/x-xcursor; Categories=2DGraphics;GTK;Graphics;RasterGraphics;