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:
Social comments and analytics for this post
from uberVU - social comments on Mon, 05/04/2010 - 16:56This 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
Submitted by Anonymous (not verified) on Tue, 06/04/2010 - 14:44.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?
Submitted by al on Tue, 06/04/2010 - 20:25.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
Submitted by Anonymous (not verified) on Wed, 07/04/2010 - 12:58.Thank you for your help, it works now:)
how do i get root options in
Submitted by iraj (not verified) on Tue, 03/01/2012 - 10:32.how do i get root options in my n900
re
Submitted by Anonymous (not verified) on Fri, 30/03/2012 - 01:05.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
Submitted by Anonymous (not verified) on Tue, 17/04/2012 - 07:02.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
Submitted by Anonymous (not verified) on Tue, 17/04/2012 - 07:15.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!
Submitted by Tatiana (not verified) on Thu, 17/05/2012 - 16:13.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