View Single Post
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#140
Originally Posted by vartanov View Post
Added this entry to the file:

<menuitem priority="5" name="RebootX">
<callback service="com.nokia.xterm" path="/com/nokia/xterm" interface="com.nokia.xterm" method="run_command" bus="session" autostart="true">
<argument type="string">/sbin/reboot</argument>
</callback>
</menuitem>



There is now a button RebootX but all is seems to do is start an xterm window, close it and start another one. I think the command needs root privileges...
Mine did the same thing.

Might be able to cobble something together with low permissions with setuid possibly. But would not want to do that though.

Last edited by les_garten; 2010-01-16 at 20:57.