Hi,
I usually opened and opened dozens of consoles to do any thing and when I was in stretch I used a shortkey command to close all consoles at once;
with a "killall bash" command I was able to close all consoles but the ones which were running something in foreground (which is what Im looking for )... Now in bullseye Plasma, "killall bash" doesnt close any window console in plasma (konsole windows), and, if i use "killall konsole", it kills everything running in foreground within them.. so I dont know, wth I need here, but Im in a hurry to find a solution to this issue..
could you help me please? ,
thanks
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Closed] How Can I close all Konsoles at once?
[Closed] How Can I close all Konsoles at once?
Last edited by bester69 on 2021-08-26 05:04, edited 1 time in total.
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...
Re: How Can I close all Konsoles at once?
This!!
# Cierra las consolas
for i in $(xdotool search --class "konsole" )
do
WID=$i
echo $i
xdotool windowactivate $WID key ctrl+d
done
# Cierra las consolas
for i in $(xdotool search --class "konsole" )
do
WID=$i
echo $i
xdotool windowactivate $WID key ctrl+d
done
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...