View Single Post
jot985's Avatar
Posts: 9 | Thanked: 0 times | Joined on Mar 2011
#6
Originally Posted by mece View Post
I suppose you mean Widget. Anyway I think you could just, for example, make a shell script called reboot.sh like this:
Code:
#!/bin/sh
sudo run-standalone.sh reboot
and do
chmod +x reboot.sh

and a desktop file like this:
Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Name=Reboot the phone
Exec=/home/user/reboot.sh
Icon=general_refresh
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
and then add it as a shortcut to your desktop. Et viola! A reboot button.
cn anybdy help me i also need to do shutdown reebot ,lockscreen from toch screen hardware keys are waste of time ,tell a sol...or an app fro it plz..