![]() |
2010-09-13
, 22:03
|
|
Posts: 417 |
Thanked: 200 times |
Joined on Apr 2010
@ Germany
|
#21
|
![]() |
2010-09-13
, 22:41
|
|
Posts: 4,672 |
Thanked: 5,455 times |
Joined on Jul 2008
@ Springfield, MA, USA
|
#22
|
![]() |
2010-09-14
, 19:15
|
Posts: 38 |
Thanked: 18 times |
Joined on Mar 2010
@ Guildford, UK
|
#23
|
The Following User Says Thank You to Crugath For This Useful Post: | ||
![]() |
2010-09-15
, 09:41
|
|
Posts: 1,411 |
Thanked: 1,330 times |
Joined on Jan 2010
@ Tatooine
|
#24
|
![]() |
2010-09-15
, 12:52
|
|
Posts: 2,121 |
Thanked: 1,540 times |
Joined on Mar 2008
@ Oxford, UK
|
#25
|
![]() |
2010-09-15
, 14:30
|
Posts: 179 |
Thanked: 49 times |
Joined on Nov 2008
|
#26
|
Code:#!/bin/bash IFS=$'\n' for LINE in `wmctrl -lp `; do if [ ${LINE:2:2} -gt 1 ]; then PID=`echo "$LINE" | awk '{print $3}'` PTITLE=`echo $LINE | awk '{print $5}'` echo "Killing $PID ($PTITLE)" kill $PID fi done
cd /home/user/ sh close_all.sh
close_all.sh: line 5: syntax error: Bad substitution
![]() |
2010-09-15
, 15:12
|
|
Posts: 1,411 |
Thanked: 1,330 times |
Joined on Jan 2010
@ Tatooine
|
#27
|
chmod +x close_all.sh
./close_all.sh
![]() |
2010-09-15
, 15:21
|
Posts: 10 |
Thanked: 0 times |
Joined on Feb 2010
|
#28
|
![]() |
2010-09-15
, 17:42
|
|
Posts: 3,397 |
Thanked: 1,212 times |
Joined on Jul 2008
@ Netherlands
|
#29
|
Have you guys ever thought about a type of Sleep/restore function? A way for the user to easily close all tasks and afterwards just as easily open all tasks again?
I'm no developer so I have no idea if this is even possible but it would be a little like firefox's restore function.
What do you guys/developers think? Is this possible? It could give us a nice boost in battery power at least.
![]() |
2010-09-17
, 23:06
|
Posts: 604 |
Thanked: 108 times |
Joined on Feb 2010
@ Phoenix, WA
|
#30
|
The Following User Says Thank You to SAABoy For This Useful Post: | ||