View Single Post
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#3
Originally Posted by bigdarkmad View Post
Hello. I'm looking for Wget app (like buttones with icons) for lock the device, shutdown and restart.
I want to be able to lock the device, shutdown and restart my N900 directly from the screen.

Thank you
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.
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.
 

The Following 4 Users Say Thank You to mece For This Useful Post: