Thread
:
is there any way to come to lockscreen by pressing volume or camera key than power key???
View Single Post
qwazix
2012-07-30 , 13:16
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
.
Quote & Reply
|
The Following 3 Users Say Thank You to qwazix For This Useful Post:
kent_autistic
,
Mentalist Traceur
,
sixwheeledbeast
qwazix
View Public Profile
Send a private message to qwazix
Find all posts by qwazix