|
2012-04-19
, 15:44
|
Posts: 539 |
Thanked: 518 times |
Joined on May 2010
@ nanaurbusiness
|
#12
|
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?
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
The Following 3 Users Say Thank You to J4ZZ For This Useful Post: | ||
|
2012-04-19
, 15:44
|
Posts: 372 |
Thanked: 61 times |
Joined on Jan 2012
|
#13
|
|
2012-04-19
, 15:49
|
|
Posts: 1,161 |
Thanked: 1,707 times |
Joined on Jan 2010
@ Denmark
|
#14
|
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?
|
2012-04-19
, 15:51
|
|
Posts: 1,359 |
Thanked: 1,292 times |
Joined on Oct 2011
@ Tartus.Syria
|
#15
|
|
2012-04-19
, 16:06
|
|
Posts: 1,161 |
Thanked: 1,707 times |
Joined on Jan 2010
@ Denmark
|
#16
|
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!
The Following 2 Users Say Thank You to Dousan For This Useful Post: | ||
|
2012-04-19
, 16:14
|
Posts: 372 |
Thanked: 61 times |
Joined on Jan 2012
|
#17
|
|
2012-04-19
, 17:12
|
|
Posts: 1,359 |
Thanked: 1,292 times |
Joined on Oct 2011
@ Tartus.Syria
|
#18
|
|
2012-04-19
, 17:17
|
Posts: 372 |
Thanked: 61 times |
Joined on Jan 2012
|
#19
|
|
2012-04-19
, 17:20
|
Posts: 177 |
Thanked: 152 times |
Joined on Oct 2011
|
#20
|
you should solve new user problem in the existing thread
No need to create new threads
anyway your thinking behind all this is good