|
Page 2 of 3 |
|
Prev |
1 2
3
|
Next
Re: close all open tasks easily in 1 gesture?
Here's my quick 'n' very dirty script.
Note: it requires Bash and wmctrl (apt-get install bash wmctrl) Code:
#!/bin/bashMy coding skills suck - I'm sure there's a much better/optimal way of doing this, but it works for me. |
Re: close all open tasks easily in 1 gesture?
How about linking this function or script to the accelerometer ?
So flipping the device face over, or shaking it, clears all tasks. |
Re: close all open tasks easily in 1 gesture?
When the device is locked there is another window that should probably not be closed: gp_tklock.
It seems to me that the id of all the windows that should not be locked starts with 0x01, and the other (user) windows starts with something else. Using this might make your script simpler, and might allow for not closing other windows that should not be closed, that are not on your list. |
Re: close all open tasks easily in 1 gesture?
Quote:
|
Re: close all open tasks easily in 1 gesture?
Quote:
Quote:
|
Re: close all open tasks easily in 1 gesture?
I've been playing with "gp_tklock" which interestingly is the only ID starting 0x00. It's started when the phone is locked, but if I kill it (wmctrl -c "gp_tklock") it goes and I'm still able to unlock my phone (both with power button/swipe and side flick switch).
Anyway here's a much simplifed version of the script, now killing anything with an ID > 0x01 instead of using a "NOCLOSE" array. Code:
#!/bin/bash |
Re: close all open tasks easily in 1 gesture?
Quote:
ps only jkin about the typical woman bit!!!! perhaps long press on camera button when lens cover is closed or an icon on desktop? |
Re: close all open tasks easily in 1 gesture?
I like the sound of that script, but have no clue how to use it. Is it possible to run it as a queenbee desktop button?
|
Re: close all open tasks easily in 1 gesture?
...Back in my symbian days I was so used to 'Jbak TaskMan'...
Hope we see an TaskManager for the N900 some time. |
Re: close all open tasks easily in 1 gesture?
Quote:
http://natisbad.org/N900/img/n900-to...ons-scaled.png |
| All times are GMT. The time now is 10:42. |
Page 2 of 3 |
|
Prev |
1 2
3
|
Next
vBulletin® Version 3.8.8