maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Newbie (https://talk.maemo.org/forumdisplay.php?f=26)
-   -   Reboot the N810 (https://talk.maemo.org/showthread.php?t=24223)

scott41 2008-10-10 21:16

Reboot the N810
 
Is there a way to reboot the n810 other than power cycleing it? Something like a reboot command or util I can run? Sure its the windoze thinking in me but often I want to reboot/restart the device with an easier route than power cycling it.

refortin 2008-10-11 00:10

Re: Reboot the N810
 
Start an xterm, switch to root and type reboot.

jellotherat 2008-10-11 01:58

Re: Reboot the N810
 
You can also edit "/etc/systemui/systemui.xml" to add a reboot option to the power menu.

Locate the following code:

Code:

<!--
 <menuitem priority="20" name="Reboot">
  <return>6</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>

and change it to:

Code:

<menuitem priority="20" name="Reboot">
  <return>6</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>
<!--


scott41 2008-10-11 03:17

Re: Reboot the N810
 
Quote:

Originally Posted by refortin (Post 232587)
Start an xterm, switch to root and type reboot.

I was missing the "switch to root part" there... when I typed in reboot it did not know the command. I would have thought it would tell me I needed to be root to run this command.

archimage 2008-11-11 22:14

Re: Reboot the N810
 
Quote:

Originally Posted by jellotherat (Post 232608)
You can also edit "/etc/systemui/systemui.xml" to add a reboot option to the power menu.

Locate the following code:

Code:

<!--
 <menuitem priority="20" name="Reboot">
  <return>6</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>

and change it to:

Code:

<menuitem priority="20" name="Reboot">
  <return>6</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>
<!--


Can you tell me what in line editor you used: I do not know the vi commands to insert text and how do you change the permissions on the file if it is needed. Lets say I grab what ever editor you mention from the depository, how do I change the ownership and permissions to root. I already have the easyroot package installed. Any help would be appreciated.

aot 2008-11-12 06:47

Re: Reboot the N810
 
Quote:

Originally Posted by archimage (Post 241158)
Can you tell me what in line editor you used: I do not know the vi commands to insert text and how do you change the permissions on the file if it is needed. Lets say I grab what ever editor you mention from the depository, how do I change the ownership and permissions to root. I already have the easyroot package installed. Any help would be appreciated.

I used Leafpad. Should be available via application manager.

After installing editor go to terminal, change yourself to root and start Leafpad from the terminal:
# leafpad /etc/systemui/systemui.xml


All times are GMT. The time now is 14:54.

vBulletin® Version 3.8.8