View Single Post
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#7
this script from nicolai simulates a power button press. You can assign it to camera button using shortcutd

you will need root so this syntax may prove useful

Code:
sh -c 'echo " your command here " | sudo gainroot'
or


Code:
sh -c 'cat myscript.sh | sudo gainroot'
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob

Last edited by qwazix; 2012-07-30 at 13:18.
 

The Following 3 Users Say Thank You to qwazix For This Useful Post: