View Single Post
Posts: 22 | Thanked: 27 times | Joined on Oct 2010 @ German
#1970
Originally Posted by NUTNDUN View Post
I just wanted to give an example of another way of going about changing the file that you want to edit. I found it easier or quicker.

Install rootsh and leafpad from the extras repo(leafpad is really easy to save and edit as opposed to vi or vim)

This is an example for giving the extra options for the power button.

Open xterm
type: sudo gainroot
type: cd /etc/systemui
type: cp systemui.xml systemui.xml.back
type: leafpad systemui.xml

leafpad will open in a new window. It is just like using notepad in windows and scroll down till you find the line starting with:
<!--
and delete it and then find the line starting with:
-->
and delete it and then click on the title bar and click save and then reboot the device.

All credit goes to the original poster, I just wanted to share maybe an easier and quicker way to do it with terminal commands and a simple text editor.

If you uncomment it all it also gives you a button for the top command to open up in a xterm window and also a soft poweroff option.

Also wanted to mention pwngu!n had already posted the quicker way using vi and I missed it when scanning through the thread the first time.
I have change the buttons for german and english....
Attached Images
 
Attached Files
File Type: zip systemui english and german.zip (1.6 KB, 101 views)
 

The Following User Says Thank You to SRSB For This Useful Post: