Thread: osso status bar
View Single Post
Posts: 193 | Thanked: 41 times | Joined on Jan 2007 @ Paia, Maui, Hawaii
#10
Originally Posted by ichmoimeyo View Post
UPDATE: screenshot ability can be added as follows

1) download & run this script in Xterm
http://maemo-hackers.org/attachment/....sh?format=raw

OR

2) add a new command yourself
[Settings - Commands - New]
Description:
Take screenshot
Command:
/bin/sh -c 'stamp=`date +%Y-%m-%d-%H-%M`; i=1; while [ -f /media/mmc1/shot-$stamp-`printf %02d $i`.png ]; do i=$((i+1)); done; osso-screenshot-tool /media/mmc1/shot-$stamp-`printf %02d $i`.png'

[PS: Now I need to figure out how to alter the command so as to build in a 5 second delay before taking screenshot]
Originally Posted by dblank View Post
Adding sleep 5; somewhere before the screenshot command should do the trick.
Thanks, dblank

3) add another new command yourself
[Settings - Commands - New]
Description:
Take screenshot in 5 seconds
Command:
/bin/sh -c 'stamp=`date +%Y-%m-%d-%H-%M`; i=1; while [ -f /media/mmc1/shot-$stamp-`printf %02d $i`.png ]; do i=$((i+1)); done; sleep 5; osso-screenshot-tool /media/mmc1/shot-$stamp-`printf %02d $i`.png'
 

The Following 2 Users Say Thank You to ichmoimeyo For This Useful Post: