View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#11
Originally Posted by fanoush View Post
open xterm
sudo gainroot
vi /etc/systemui/systemui.xml
position cursor on beginning of comment <!-- above reboot item, enter dd (press d twice) to delete it
position cursor on end of comment -->, enter dd (press d twice) to delete it
enter ZZ (twice shift + z) to save

It is critical to not to mess this file or your tablet will not boot. Do it slowly. Enter :q! to exit vi without saving if you are not sure what you entered.

You may also just move the comment beginning <!-- below the reboot item to leave other items still disabled but it is harder.
Does someone have a backup of the N800 OS2008 systemui.xml file please?

I thought I did it properly but it seems not. I have lost all the options on the device mode menu. I can still shut down and take the phone out of wifi but it would be nice to have the file back please.

Note to self, backup files first

Here's my current systemui. Not sure what is wrong with it:
Code:
<powerkeymenu path="/">
 <title>powerup_application_title</title>
 <po>osso-powerup-shutdown</po>
 <menuitem priority="100" name="powerup_memainmenu_locktouchscreen">
  <return>1</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>
 <menuitem priority="90" name="powerup_memainmenu_normalmode" visible="flight">
  <keyfile>/var/lib/mce/mode</keyfile>
  <return>2</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>
 <menuitem priority="90" name="powerup_memainmenu_flightmode" visible="normal">
  <keyfile>/var/lib/mce/mode</keyfile>
  <return>3</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>
 <menuitem priority="80" name="powerup_memainmenu_lockdevice" disabled="yes">
  <keyfile>/var/run/mce/call</keyfile>
  <return>4</return>
  <po>osso-powerup-shutdown</po>
  <disabled_reason name="powerup_ib_device_lock_not_available">
   <po>osso-powerup-shutdown</po>
  </disabled_reason>
 </menuitem>
 <menuitem priority="20" name="Reboot">
  <return>6</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>
 <menuitem priority="10" name="Soft poweroff">
  <return>7</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>
 <menuitem priority="5" name="Top in XTerm">
  <callback service="com.nokia.xterm" path="/com/nokia/xterm" interface="com.nokia.xterm" method="run_command" bus="session" autostart="true">
   <argument type="string">/usr/bin/top</argument>
  </callback>
 </menuitem>
  <return>5</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>
</powerkeymenu>

Last edited by qwerty12; 2008-01-23 at 16:26.