From e0aa3ace9b7236bbbc8a8bf7ccb201d0bbc5c97c Mon Sep 17 00:00:00 2001
From: Albert Graef <aggraef@gmail.com>
Date: Tue, 20 Aug 2019 00:25:16 +0200
Subject: [PATCH] Replace pd-gui -> nw in the ForceQuit actions, which is the
 proper name of the GUI program on Linux.

---
 packages/linux_make/pd-l2ork-debug.desktop     | 2 +-
 packages/linux_make/pd-l2ork-k12-debug.desktop | 2 +-
 packages/linux_make/pd-l2ork-k12.desktop       | 2 +-
 packages/linux_make/pd-l2ork.desktop           | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/packages/linux_make/pd-l2ork-debug.desktop b/packages/linux_make/pd-l2ork-debug.desktop
index 61fe44f2f..a7db51e74 100755
--- a/packages/linux_make/pd-l2ork-debug.desktop
+++ b/packages/linux_make/pd-l2ork-debug.desktop
@@ -21,5 +21,5 @@ TargetEnvironment=Unity
 
 [Desktop Action ForceQuit]
 Name=Force Quit Pd-L2Ork
-Exec=/bin/sh -c "/usr/bin/killall pd-l2ork pd-gui"
+Exec=/bin/sh -c "/usr/bin/killall pd-l2ork nw"
 TargetEnvironment=Unity
diff --git a/packages/linux_make/pd-l2ork-k12-debug.desktop b/packages/linux_make/pd-l2ork-k12-debug.desktop
index 1ba69651a..92a9c96bf 100755
--- a/packages/linux_make/pd-l2ork-k12-debug.desktop
+++ b/packages/linux_make/pd-l2ork-k12-debug.desktop
@@ -21,5 +21,5 @@ TargetEnvironment=Unity
 
 [Desktop Action ForceQuit]
 Name=Force Quit Pd-L2Ork
-Exec=/bin/sh -c "/usr/bin/killall pd-l2ork pd-gui"
+Exec=/bin/sh -c "/usr/bin/killall pd-l2ork nw"
 TargetEnvironment=Unity
diff --git a/packages/linux_make/pd-l2ork-k12.desktop b/packages/linux_make/pd-l2ork-k12.desktop
index e41937f56..3fab4b6bf 100755
--- a/packages/linux_make/pd-l2ork-k12.desktop
+++ b/packages/linux_make/pd-l2ork-k12.desktop
@@ -21,5 +21,5 @@ TargetEnvironment=Unity
 
 [Desktop Action ForceQuit]
 Name=Force Quit Pd-L2Ork
-Exec=/bin/sh -c "/usr/bin/killall pd-l2ork pd-gui"
+Exec=/bin/sh -c "/usr/bin/killall pd-l2ork nw"
 TargetEnvironment=Unity
diff --git a/packages/linux_make/pd-l2ork.desktop b/packages/linux_make/pd-l2ork.desktop
index 18baf08be..9a5f6efe4 100755
--- a/packages/linux_make/pd-l2ork.desktop
+++ b/packages/linux_make/pd-l2ork.desktop
@@ -21,5 +21,5 @@ TargetEnvironment=Unity
 
 [Desktop Action ForceQuit]
 Name=Force Quit Pd-L2Ork
-Exec=/bin/sh -c "/usr/bin/killall pd-l2ork pd-gui"
+Exec=/bin/sh -c "/usr/bin/killall pd-l2ork nw"
 TargetEnvironment=Unity
-- 
GitLab