--- a/NewLauncher.st Sun Sep 30 18:30:25 2018 +0200
+++ b/NewLauncher.st Sun Sep 30 18:32:17 2018 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1997-1998 by eXept Software AG
All Rights Reserved
@@ -5061,13 +5063,38 @@
!NewLauncher methodsFor:'user actions-tools'!
menuResumeFirefox
- OperatingSystem executeCommand:'killall -CONT firefox'.
- OperatingSystem executeCommand:'killall -CONT plugin-container'.
+ "on my system, firefox seems to run amok occasionally,
+ leaving 100% plugin-containers around.
+ The suspendFirefox actions suspends them all, so my battery is not drained too fast,
+ this actions resumes them."
+
+ #(
+ 'firefox'
+ 'plugin-container'
+ 'Google Chrome Helper'
+ "/ 'qemu-system-i386'
+ ) do:[:each |
+ OperatingSystem executeCommand:('killall -CONT "%1"' bindWith:each)
+ ]
+
+ "Modified (comment): / 30-09-2018 / 18:32:08 / Claus Gittinger"
!
menuSuspendFirefox
- OperatingSystem executeCommand:'killall -STOP firefox'.
- OperatingSystem executeCommand:'killall -STOP plugin-container'.
+ "on my system, firefox seems to run amok occasionally,
+ leaving 100% plugin-containers around.
+ This suspends them all, so my battery is not drained too fast"
+
+ #(
+ 'firefox'
+ 'plugin-container'
+ 'Google Chrome Helper'
+ "/ 'qemu-system-i386'
+ ) do:[:each |
+ OperatingSystem executeCommand:('killall -STOP "%1"' bindWith:each)
+ ]
+
+ "Modified (comment): / 30-09-2018 / 18:31:47 / Claus Gittinger"
! !
!NewLauncher methodsFor:'user actions-windows'!