The Following User Says Thank You to bigdarkmad For This Useful Post: | ||
![]() |
2010-08-31
, 19:38
|
Posts: 21 |
Thanked: 22 times |
Joined on Aug 2010
@ Sweden
|
#2
|
![]() |
2010-08-31
, 20:11
|
|
Posts: 1,111 |
Thanked: 1,985 times |
Joined on Aug 2009
@ Åbo, Finland
|
#3
|
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
#!/bin/sh sudo run-standalone.sh reboot
[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
The Following 4 Users Say Thank You to mece For This Useful Post: | ||
![]() |
2010-08-31
, 20:20
|
|
Posts: 579 |
Thanked: 471 times |
Joined on Jan 2010
@ Austria
|
#4
|
![]() |
2012-05-14
, 07:48
|
|
Posts: 9 |
Thanked: 0 times |
Joined on Mar 2011
|
#5
|
![]() |
2012-05-14
, 07:51
|
|
Posts: 9 |
Thanked: 0 times |
Joined on Mar 2011
|
#6
|
I suppose you mean Widget. Anyway I think you could just, for example, make a shell script called reboot.sh like this:
and doCode:#!/bin/sh sudo run-standalone.sh reboot
chmod +x reboot.sh
and a desktop file like this:
and then add it as a shortcut to your desktop. Et viola! A reboot button.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
![]() |
2012-05-14
, 08:16
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#7
|
I want to be able to lock the device, shutdown and restart my N900 directly from the screen.
Thank you