Howto add a Reboot Button to N900

if you ever wanted to reboot your device only and not shutdown
and restart again and missed the a reboot button on your N900?
well, here is the solution for you.

 

what do you need for it:
 1. xterm
 2. PyGTEditor, vi or mc

 

 

your steps:

//1. login as root

sudo gainroot

 

//2. go to systemui folder
cd /etc/systemui

 

//3.  you need a backup for turning back
cp systemui.xml systemui.xml.bak

 

//3.1  if  you prefer to use the PyGTEditor, you should copy it into Temp folder
cp systemui.xml /home/user/MyDocs/tmp/systemui.xml

 

// 4 open PyGTEditor and open the systemui.xml file in your Temp folder

 

// 4.1 OR user vi:

vi systemui.xml

 

// 5. go to line where you see <menuitem priority="20" name="Reboot">

// 6.  delete <!-- before it and insert <!-- after </menuitem>

 

your code should be looking like that:

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

...

 

// 8  in PyGTEditor save the file

// 8.1 OR if you use vi:

// 8.1.2 press ESC and :wg to save the file

if you use the PyGTEditor you have to copy back the systemui.xml file

cp /home/user/MyDocs/tmp/systemui.xml systemui.xml

 

Restart your phone and from now you can see the reboot button,
when you press the powerbutton once :-)

 

Trackback URL for this post:

http://www.mobilelivingroom.de/trackback/134

Social comments and analytics for this post

This post was mentioned on Twitter by nokia_fan: Howto add a Reboot Button to N900 http://tinyurl.com/yju8hmm #n900 #maemo #howto

I could'nt please help

I've done all things may be 10 times and also i have 'maemo extras catalogue' as well, but when i restart, can't see 'reboot' button when i press power button once:(

could u please help me to how to do this...

what editor do you use?

what editor did you used to modify the systenui file?

if you use vi to edit it, you have to press ESC and type :wg to save the file

but, could you describe what steps do you exactly do? thanks :-)

 

with the PyGTEditor it looks like this:

 

Thank you for your help, it

Thank you for your help, it works now:)

how do i get root options in

how do i get root options in my n900

re

trial
brilliantly insightful post. If only it was as easy to implement some of the solutions as it was to read and nod my head at each of your points

Messed up.. needs to restore

hey there, thanks for this useful post,

well i run'ed into a problem
while editing the systenui file from leafpad, i messed it up.
now there is only phone mode in power button.. :(

I have kept a back up from same cmd in ur instruction, can you tell me how do i restore original one??

Thanks again

EDIT

ya! i got it done. i got it restored and working.
Thanks for this awesome info again "mobilelivingroom"- actually the name sounds cool at this moment,
'keeping mobile living' like, 'reboot'=dead n alive again. :P

Reboot power key appeared!

Thank you very much for such presice description.
I am a new to Linux and read several times before to do it and I got it from the first attempt!

Thanks-thanks-thanks :)

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.
qrcode
Share/Bookmark