![]() |
2010-07-18
, 19:52
|
Posts: 6 |
Thanked: 0 times |
Joined on Jul 2010
|
#1641
|
![]() |
2010-07-19
, 02:22
|
Posts: 87 |
Thanked: 16 times |
Joined on Dec 2009
|
#1642
|
![]() |
2010-07-19
, 05:53
|
|
Posts: 1,161 |
Thanked: 1,707 times |
Joined on Jan 2010
@ Denmark
|
#1643
|
![]() |
2010-07-19
, 07:02
|
Posts: 309 |
Thanked: 456 times |
Joined on Jan 2010
|
#1644
|
![]() |
2010-07-19
, 08:41
|
Posts: 195 |
Thanked: 16 times |
Joined on Feb 2010
@ Switzerland
|
#1645
|
WARNING: CHANGING THIS FILE OTHER THAN WHAT I ADVISE MAY BRICK YOUR DEVICE, I AM IN NO WAY RESPONSIBLE IF U BRICK UR DEVICE!!
How to enable Reboot button?
plus more..
in power button settings!
When you press the Power button, a menu is shown containing options to e.g. Switch off or lock the device. And what if you just want to reboot it? Sure, you can use the "Switch off" function and then just press the Power button again to turn the N900 back on. But it can be made simpler and quicker as you can add a separate "Reboot" button to the menu, which will automatically reboot the device without you having to do anything.
All you need to do is to edit one config file and "uncomment" its part responsible for showing the button, disabled by default.
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.
![]() |
2010-07-19
, 08:44
|
|
Posts: 601 |
Thanked: 549 times |
Joined on Mar 2010
@ Redditch, UK
|
#1646
|
The clock is the Desktop Clock Widget by Nicolai, and the Cairo theme is Black Transparent, downloaded from gnome-look.org.
![]() |
2010-07-19
, 08:49
|
|
Posts: 601 |
Thanked: 549 times |
Joined on Mar 2010
@ Redditch, UK
|
#1647
|
How I can copy & paste the <!-- under the reboot text.. I don`t know the tricks of Midnight commander ?!
sudo gainroot apt-get install nano cp /etc/systemui/systemui.xml /etc/systemui/systemui.original.xml nano /etc/systemui/systemui.xml
![]() |
2010-07-19
, 09:32
|
|
Posts: 675 |
Thanked: 923 times |
Joined on Apr 2010
@ London
|
#1648
|
Ok, Linux noob here, needing help to get this applied.
Unzipped (untarred, whatever!) the file to a folder location on the phone. Checked out the contents of the file - loadsa *.svg files and one *.conf file. Opened the conf file and it appears to be basics on the theme. However, can't actually apply the theme to the clock through desktop settings (clock settings).
A little help please.....?
![]() |
2010-07-19
, 09:53
|
Posts: 195 |
Thanked: 16 times |
Joined on Feb 2010
@ Switzerland
|
#1649
|
I didn't use Midnight Commander, I used Nano instead. Open X-term and type in the following:
Then simply delete the <!-- and --!> at the top and the bottom of these buttons. Then press Ctrl+x to exit, pressing Y to save changes. It will add Top in Xterm, Soft Poweroff and Reboot buttons to the main power button when pressed.Code:sudo gainroot apt-get install nano cp /etc/systemui/systemui.xml /etc/systemui/systemui.original.xml nano /etc/systemui/systemui.xml
Hope I've got the commands right....
![]() |
2010-07-19
, 12:06
|
|
Posts: 601 |
Thanked: 549 times |
Joined on Mar 2010
@ Redditch, UK
|
#1650
|
Switch what happens when you navigate to the folder containing the .svg's and .conf from the settings of the clock widget and select it?
EDIT: You need to have 'Built in Theme' deselected if that helps.
Kind Regards,
D4rKlar
![]() |
Tags |
maemo mods, mods thread |
|