![]() |
need help modifying systemui.xml
i need to modify this file systemui.xml in / etc / systemu /
i need the command to do that plz |
Re: need help
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 |
Re: need help
http://talk.maemo.org/showthread.php?t=39565&page=2
middle of page says about using xterminal instead of mc |
Re: need help
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. |
Re: need help
Quote:
Need help to modify systemui.xml |
Re: need help
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 |
Re: need help modifying systemui.xml
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.
|
Re: need help
never mind, figured it out
|
Re: need help modifying systemui.xml
pls i did not see /ect/systemui/ in the cm.help
|
All times are GMT. The time now is 11:57. |
vBulletin® Version 3.8.8