maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   A small utility program to soft reboot your tablet (https://talk.maemo.org/showthread.php?t=15223)

bunanson 2008-01-17 06:36

A small utility program to soft reboot your tablet
 
step by step instruction here, http://www.internettablettalk.com/fo...=12863&page=19 thread #186.

It allows one to reboot your tablet without using the tablet power button.

enjoy,

bun

cashel 2008-01-17 07:07

Re: A small utility program to soft reboot your tablet
 
That's a rather roundabout way to execute the reboot command, plus it involves installing an application which is always running. Have you tried just adding a link to the shell script in the application menu?

fanoush 2008-01-17 07:08

Re: A small utility program to soft reboot your tablet
 
You can also edit /etc/systemui/systemui.xml and uncomment reboot item so it in not inside <!-- -->.
After one reboot you have 'reboot' item in power key menu. But true that this can't 'reboot your tablet without using the tablet power buttton'.

bunanson 2008-01-17 07:21

Re: A small utility program to soft reboot your tablet
 
All I want is a .deb file on the desktop that would,

- xterm
- sudo gainroot
- shutdown -r now

My bb3.sh is a very big roundabout way of doing it to get around the f!@#$$king power on problem. I called the script my poorman's programming. Whatever, it works beautifully, I have reboot it more than 20 times just for fun. Now I do not have the "phobia" of NOT able to power on. I am studying the application manu see whether it will allow me to do similar task w less roundabout. Thanks for both Cashel and Fanoush's suggestion. BTW, this is my "Hello world" for the tablet :p.

I also have an Asus EEE running Xandros Linux. Can I use that to compile the .sh into a .deb file and put it on the desktop? Look at the poll, there is more than 25 users having the power on problem.... In fact, maybe a soft reboot should be built-in into the platform in the future tablet release, uh?


bun

Dr Tran 2008-01-17 07:34

Re: A small utility program to soft reboot your tablet
 
Quote:

Originally Posted by fanoush (Post 129192)
You can also edit /etc/systemui/systemui.xml and uncomment reboot item so it in not inside <!-- -->.
After one reboot you have 'reboot' item in power key menu. But true that this can't 'reboot your tablet without using the tablet power buttton'.

Can you walk me through on how to do that?

bunanson 2008-01-17 07:35

Re: A small utility program to soft reboot your tablet
 
Quote:

Originally Posted by Dr Tran (Post 129199)
Can you walk me through on how to do that?


me 2.


bun

fanoush 2008-01-17 09:47

Re: A small utility program to soft reboot your tablet
 
open xterm
sudo gainroot
vi /etc/systemui/systemui.xml
position cursor on beginning of comment <!-- above reboot item, enter dd (press d twice) to delete it
position cursor on end of comment -->, enter dd (press d twice) to delete it
enter ZZ (twice shift + z) to save

It is critical to not to mess this file or your tablet will not boot. Do it slowly. Enter :q! to exit vi without saving if you are not sure what you entered.

You may also just move the comment beginning <!-- below the reboot item to leave other items still disabled but it is harder.

gLobster 2008-01-17 11:25

Re: A small utility program to soft reboot your tablet
 
Also, if you install rootsh, then you can:
> rootsh shutdown -r now

:-)

Dr Tran 2008-01-17 17:21

Re: A small utility program to soft reboot your tablet
 
Quote:

Originally Posted by fanoush (Post 129229)
open xterm
sudo gainroot
vi /etc/systemui/systemui.xml
position cursor on beginning of comment <!-- above reboot item, enter dd (press d twice) to delete it
position cursor on end of comment -->, enter dd (press d twice) to delete it
enter ZZ (twice shift + z) to save

It is critical to not to mess this file or your tablet will not boot. Do it slowly. Enter :q! to exit vi without saving if you are not sure what you entered.

You may also just move the comment beginning <!-- below the reboot item to leave other items still disabled but it is harder.

I got a write error. :(

fanoush 2008-01-17 18:55

Re: A small utility program to soft reboot your tablet
 
Quote:

Originally Posted by Dr Tran (Post 129428)
I got a write error. :(

perhaps 'sudo gainroot' didn't give you root? install becomeroot package
http://eko.one.pl/maemo/dists/bora/u....1-2_armel.deb


All times are GMT. The time now is 03:28.

vBulletin® Version 3.8.8