|
|
04-19-2012
, 11:44 AM
|
|
Posts: 391 |
Thanked: 352 times |
Joined on May 2010
@ Germay or my own reality
|
#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: | ||
|
|
04-19-2012
, 11:44 AM
|
|
Posts: 372 |
Thanked: 58 times |
Joined on Jan 2012
|
#13
|
|
|
04-19-2012
, 11:49 AM
|
|
|
Posts: 1,014 |
Thanked: 921 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?

|
|
04-19-2012
, 11:51 AM
|
|
|
Posts: 1,357 |
Thanked: 1,264 times |
Joined on Oct 2011
@ Tartus.Syria
|
#15
|
|
|
04-19-2012
, 12:06 PM
|
|
|
Posts: 1,014 |
Thanked: 921 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: | ||
|
|
04-19-2012
, 12:14 PM
|
|
Posts: 372 |
Thanked: 58 times |
Joined on Jan 2012
|
#17
|
|
|
04-19-2012
, 01:12 PM
|
|
|
Posts: 1,357 |
Thanked: 1,264 times |
Joined on Oct 2011
@ Tartus.Syria
|
#18
|
|
|
04-19-2012
, 01:17 PM
|
|
Posts: 372 |
Thanked: 58 times |
Joined on Jan 2012
|
#19
|
|
|
04-19-2012
, 01:20 PM
|
|
Posts: 149 |
Thanked: 126 times |
Joined on Oct 2011
|
#20
|
![]() |
| Thread Tools | Search this Thread |
|
you should solve new user problem in the existing thread
No need to create new threads
anyway your thinking behind all this is good