Active Topics

 


Reply
Thread Tools
Posts: 1 | Thanked: 0 times | Joined on Oct 2010
#1
i need to modify this file systemui.xml in / etc / systemu /
i need the command to do that plz
 
Posts: 182 | Thanked: 13 times | Joined on Feb 2010
#2
In order to do this, you will to:
* Download and install rootsh from the Extras repository, which will give you root access in the X-Terminal
* Download and install Midnight Commander, the well known file manager which also contains a convenient text editor.

Now the actual modification:
Launch X-Terminal
* type sudo gainroot to enable root access
* type mc to launch Midnight Commander
* in the Midnight Commander, using the keyboard arrows, browse to the /ect/systemui/ folder and select the systemui.xml file
* make a copy of that file, just in case that you do something wrong, so that you can simply restore its original version anytime
* tap the 4 Edit button (at the bottom) to open the text editor
* at the bottom of the file you will notice that part of it (consisting of three ... entries) is disabled within the "comment" marks (starting ).
* move the "comment" marks mentioned above "<!--" (e.g. by deleting and re-typing them in other place) so that the two remaining entries ("Soft poweroff" and "Top in XTerm") are still within them but the "Reboot" entry gets outside of them
* tap 10 Quit button at the bottom of the editor and confirm in the requester that you want to save the file (if you don't see the 10 Quit button you may need to change the X-Terminal font size to 10)
* exit Midnight Commander, close X-Terminal and reboot the device
* after the N900 reboots, you should see the new "Reboot" option in the Menu.

When using the X-Terminal with root access enabled, be EXTREMELY CAUTIOUS! Root access enables you to modify (and thus also DAMAGE) all system files, which can even result in BRICKING the device. If you don't know what you are doing, better don't do it.
quoted from f2thak
 

The Following User Says Thank You to CaSPeRFXX For This Useful Post:
Posts: 182 | Thanked: 13 times | Joined on Feb 2010
#3
http://talk.maemo.org/showthread.php?t=39565&page=2

middle of page says about using xterminal instead of mc
 

The Following User Says Thank You to CaSPeRFXX For This Useful Post:
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#4
If you learned what you need to modify "systemui.xml" file, you can presumably learn what command to use. A good test for "will you screw up your system and then come here asking for help on how to fix it" is "did you find everything available on at least talk.maemo.org available on the issue already". If the latter is a yes, the former isn't always a no, but but if the latter is a no, the former is likely to be a yes.

Not to mention that you don't NEED to modify this file, you don't NEED the command to do it, and you definitely don't NEED help (the kind you're asking for anyway) if you have to ask for something this commonly stated on this forum. It's in the f'ing wiki if I remember right, which is saying something.

Search Results (for just the word "systemui.xml"). One even has "noob instructions" in the thread title:
http://talk.maemo.org/showthread.php...t=systemui.xml
http://talk.maemo.org/showthread.php...t=systemui.xml

If you don't read through at least those first posts though, and ideally skim those threads entirely, the command you need to use is:

vi [name-of-file] - which in this case means vi systemui.xml if you're in /etc/systemui already, or vi /etc/systemui/system.ui.xml

When you're in vi, you start editing by pressing "i", then press esc (it's on the X-Term's bar at the bottom) to exit editing mode. Then enter ":wq" (it'll appear at the bottom line), if you want to save it, or ":q!" if you don't want to save your changes. Press enter. You need to run this command as root. Which means either type "root" or "sudo gainroot" and press enter before entering this command, or type "sudo vi [path/file]". If that doesn't work for you, you need rootsh installed. If you can't be bothered to figure out the rest (I don't mean you have to experiment and fiddle and such. Just use the search. This topic, at least, is covered enough on the forums that you CAN find everything you need to know already) on your own, you shouldn't edit system files yet.

The command for copying is done with "cp [path and/or name of file-to-be-copied] [path of where you want to copy the file and optionally the name you want to name it]". I tell you the copy command because I hope you make a backup.

Last edited by Mentalist Traceur; 2010-10-04 at 19:48. Reason: Clarified "figure out the rest".
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#5
Originally Posted by sempra View Post
i need to modify this file systemui.xml in / etc / systemu /
i need the command to do that plz
Please change the title of this thread to:
Need help to modify systemui.xml
__________________
The Mini-USB plug is an improvement over both the Type B plug and the Micro-B plug.
 

The Following User Says Thank You to j.s For This Useful Post:
Posts: 166 | Thanked: 30 times | Joined on Apr 2010 @ Halifax, UK
#6
whoa
if you don't know how to edit using vi won't be any good also ctc/systemui is a directory anyway if you must do it

download 'leafpad' then run

root
leafpad /etc/systemui/systemui.xml

be careful tho
 
xomm's Avatar
Posts: 609 | Thanked: 243 times | Joined on Jan 2010 @ Eastern USA
#7
sempra, When asking a question, if you can't find a directly related thread, please create your own thread first rather than asking in another person's thread.
__________________
==In school once again. Free time limited to night, holidays and weekends.==
Hi! I'm Andy, a Maemo Greeter! I'm also a moderator of the Applications, Nokia N900, and Maemo 5/Fremantle forums.
Useful Links: Maemo Wiki Main Page, New users start here, Beginners' wiki page, Maemo5 101, Frequently Asked Questions (FAQ)
Also, pin yourself in the map! Maemo Map. Send me a PM (Private Message) if I leave you hanging on a problem (or if you need more help).
Owner of both a N800 and N900; Active community member since Jan 2010. You've been xommified! - My blog.
 
Swirnoff's Avatar
Posts: 162 | Thanked: 20 times | Joined on Oct 2009 @ California
#8
never mind, figured it out

Last edited by Swirnoff; 2011-02-28 at 01:06.
 
Posts: 2 | Thanked: 0 times | Joined on Aug 2013
#9
pls i did not see /ect/systemui/ in the cm.help
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:30.