From: Debian Science Maintainers Date: Sat, 25 May 2024 14:11:03 +0000 (+0200) Subject: Change XDG desktop entry to only run single instance of FreeCAD. X-Git-Tag: archive/raspbian/0.21.2+dfsg1-3+rpi1~1^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4fced72a23ea2b01dce5b8e653f85e672561f19b;p=freecad.git Change XDG desktop entry to only run single instance of FreeCAD. This ensure invoking it to open different files only start the program once, and load new files into the already running instance. Related to https://bugs.debian.org/1029846 and https://github.com/FreeCAD/FreeCAD/commit/c7a21ecbeecefe7c2dfc9e950b3d6bb42351d476 . Partly applied upstream. Arguments applied, program name change is not. Author: Håvard Flaget Aasen Forwarded: https://github.com/FreeCAD/FreeCAD/pull/9855 Last-Update: 2021-12-26 Gbp-Pq: Name 1100-run_single-instance.patch --- diff --git a/src/XDGData/org.freecadweb.FreeCAD.desktop b/src/XDGData/org.freecadweb.FreeCAD.desktop index 1058c1f7..75295cd2 100644 --- a/src/XDGData/org.freecadweb.FreeCAD.desktop +++ b/src/XDGData/org.freecadweb.FreeCAD.desktop @@ -14,7 +14,7 @@ GenericName[de]=CAD-Anwendung GenericName[ko]=CAD 응용프로그램 GenericName[pl]=Aplikacja CAD GenericName[ru]=Система автоматизированного проектирования -Exec=FreeCAD %F +Exec=/usr/bin/freecad - --single-instance %F Terminal=false Type=Application Icon=org.freecadweb.FreeCAD