Reply
Thread Tools
Posts: 177 | Thanked: 148 times | Joined on Oct 2011
#11
Originally Posted by sifo View Post
All right i tried to help new users but no problem im sorry i'll remove this just forgive all my mistakes over tmo
you are always welcome in TMO

you should solve new user problem in the existing thread
No need to create new threads

anyway your thinking behind all this is good
 

The Following 2 Users Say Thank You to Sourav.dubey For This Useful Post:
Posts: 470 | Thanked: 413 times | Joined on May 2010 @ nanaurbusiness
#12
Originally Posted by nicolai View Post
Can you explain to me why I need an extra dbus-service for this.
Why not just uncomment the already existing reboot entry
in systemui.xml?
Like the Note said:
some of you may notice that a reboot entry is already defined in systemui.xml. However, osso-powerup-shutdown performs a shutdown which kill all apps suddenly. Rebooting with sudo reboot will gently shutdown all software and sync your filesystem, which is safer. Lets just say that there was probably a reason that the default entry was commented out.

BTW: The source is here * The Truly Epic Maemo 5 MODs Thread *
Part 1
Part 2
both posted by good old qwerty12

Or the summary by MohammadAG

Code:
sudo gainroot
echo "user ALL = NOPASSWD: /sbin/reboot" > /etc/sudoers.d/reboot.sudoers
update-sudoers
nano /usr/share/dbus-1/services/reboot.service
# Paste this into it:
[D-BUS Service]
Name=com.misc.reboot
Exec=/usr/bin/sudo reboot
# CTRL + O to save, CTRL+X to quit nano
nano /etc/systemui/systemui.xml
# Paste this into it:
<menuitem priority="750" name="Reboot">
<icon>general_refresh</icon>
<callback service="com.misc.reboot" path="/com/misc/reboot" interface="com.misc.reboot" method="reboot" bus="session" autostart="true">
<argument type="boolean">true</argument>
</callback>
</menuitem>
# CTRL + O to save, CTRL+X to quit nano
killall systemui
Cheers,

J4ZZ
 

The Following 3 Users Say Thank You to J4ZZ For This Useful Post:
Posts: 372 | Thanked: 58 times | Joined on Jan 2012
#13
doesnot reboot. i successfully added the reboot button by editing systemui. now i have two reboot buttons. one works and one doesnt (followed sifo's guide) how to remove it?
 
Dousan's Avatar
Posts: 1,094 | Thanked: 1,398 times | Joined on Jan 2010 @ Denmark
#14
Originally Posted by Mohammed Muid View Post
doesnot reboot. i successfully added the reboot button by editing systemui. now i have two reboot buttons. one works and one doesnt (followed sifo's guide) how to remove it?
Ask sifo

Regards Dousan...
__________________
We do not see things as they are; we see things as we are...
My Procreate art:
http://procreate.si/forums/index.php?topic=407.0
My S°ciety6:
http://society6.com/Dousan
My Tumblr:
http://dousan.tumblr.com
 
sifo's Avatar
Posts: 1,359 | Thanked: 1,288 times | Joined on Oct 2011 @ Tartus.Syria
#15
what mohammed you mean mine the one on the guide that i posted (took from the nokia n900 blog ) not working well it works with me!
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 
Dousan's Avatar
Posts: 1,094 | Thanked: 1,398 times | Joined on Jan 2010 @ Denmark
#16
Originally Posted by sifo View Post
what mohammed you mean mine the one on the guide that i posted (took from the nokia n900 blog ) not working well it works with me!
Either way he's just asking how to remove it. Nothing else mate

Regards Dousan...
__________________
We do not see things as they are; we see things as we are...
My Procreate art:
http://procreate.si/forums/index.php?topic=407.0
My S°ciety6:
http://society6.com/Dousan
My Tumblr:
http://dousan.tumblr.com
 

The Following 2 Users Say Thank You to Dousan For This Useful Post:
Posts: 372 | Thanked: 58 times | Joined on Jan 2012
#17
how to remove it? help me to remove it. i dn care were u took it from mate. cheers
 
sifo's Avatar
Posts: 1,359 | Thanked: 1,288 times | Joined on Oct 2011 @ Tartus.Syria
#18
im not sure but try removing the files you created and the texts you add then redo the steps that might work somebody please correct me i im wrong !
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7

Last edited by sifo; 2012-04-19 at 17:15.
 
Posts: 372 | Thanked: 58 times | Joined on Jan 2012
#19
you removed the process of doing it. by reading that i could have removed the lines. u need to paste the tutorial again i gess
 
Posts: 177 | Thanked: 148 times | Joined on Oct 2011
#20
Use the following link and undo every step
nokia-n900.com/how-to-adding-a-reboot-button-to-your-powerkey-menu/

you can also use filebox to do so
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:24.