Reply
Thread Tools
Posts: 527 | Thanked: 121 times | Joined on Feb 2010
#721
Originally Posted by OptX View Post
I was tired of typing first root, then mc in terminal.
I edit the file /usr/share/menu/mc to :

?package(mc):\
needs="text"\
section="Apps/Tools"\
title="mc"\
longtitle="Midnight Commander"\
hints="File managers"\
command="sudo /usr/bin/mc"\
icon="/usr/share/pixmaps/mc.xpm"

Root @ once , no terminal needed
Mine looked all ready like that???!!
 
OptX's Avatar
Posts: 293 | Thanked: 206 times | Joined on Oct 2009 @ Germnay
#722
lol
The only real change was in this line: >command="sudo /usr/bin/mc"\< ,the sudo.
Where did you get mc from ? Mine is from the repos and up to date .. Until this change, i had to go always to terminal, gain root and then start mc to do what i want.
 
Posts: 527 | Thanked: 121 times | Joined on Feb 2010
#723
I downloaded it from some category, but can't recall which one..
 
Posts: 14 | Thanked: 8 times | Joined on Feb 2010
#724
Originally Posted by biggzy View Post
not figured it out yet, i realy want reboot option but dnt want to brick my n900 lol, yes im a maemo noob, i was a previous s60 ownr with good moding skills, so i also want to start doing mods on my n900, thanx for the info, i will try and do it.
As no one has stepped up to provide a <realistic> way of getting the reboot menu to work, I will write one up.
(Please comment if I loose you, or if you need help)
I will post what I want to do, and then explain it step by step.

First you need to install rootsh which allows you to edit system files, and leafpad so you can edit them outside of therm command line.

To install both leafpad, and rootsh you will need to enable the maemo extras catalog.
Go to the applications manager, (called app.manager under More) and click the top bar. Click application catalogs, and then click maemo.org.
(please tell me if you dont have it.)
Uncheck "disabled", press save, click in the blurry area to close the bar, and wait for it to refresh.

Browse by alphabetical order and install leafpad, and rootsh.
When you find leafpad, click it, check the agreement box, and then "continue"
(Both apps are very stable. The change of messing up your phone is very small.)

Now its time to edit the actual file.
<Insert disclaimer here>
(If you mess up this file, the menu when you press the power button will only have "phone", but thats about it for damage.)

Open xterminal
Type
Code:
sudo gainroot
You now have full access over the N900
Type
Code:
cd /etc/systemui
"cd" means "change directory" to the directory "/etc/systemui"
(Press Tab to have to computer finish words. Double tap tab to display all options)
Type
Code:
leafpad systemui.sys
This will open the file that we need to edit.

Browse to near the bottom of the file, and find this:
Code:
<!--
and delete it
Then find
Code:
<--
at the bottom of the file and delete it as well.
Save the file, (Menu > save) and close leafpad and terminal.

Restart your N900, and Presto! you should have a reboot option.

~Wild_Doogy

Please comment if you find any errors, or parts that are unclear.

Last edited by Wild_Doogy; 2010-02-21 at 04:16. Reason: Feel REALLY stupid, I didn't see the 73 pages of replies. >_> I am going to leave my post up just in case someone needs help.
 

The Following 3 Users Say Thank You to Wild_Doogy For This Useful Post:
Posts: 310 | Thanked: 383 times | Joined on Jan 2010
#725
Does anyone know offhand if it's possible to force the phone app into landscape mode? The only options are portrait and automatic; has someone found a conf file that will accept a landscape-only configuration?
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#726
Originally Posted by nightfire View Post
Does anyone know offhand if it's possible to force the phone app into landscape mode? The only options are portrait and automatic; has someone found a conf file that will accept a landscape-only configuration?
i would like this option also..
 
Posts: 276 | Thanked: 109 times | Joined on Dec 2009 @ Vancouver,Canada / Dubai,UAE
#727
Originally Posted by Wild_Doogy View Post
As no one has stepped up to provide a <realistic> way of getting the reboot menu to work, I will write one up.
(Please comment if I loose you, or if you need help)
I will post what I want to do, and then explain it step by step.

First you need to install rootsh which allows you to edit system files, and leafpad so you can edit them outside of therm command line.

To install both leafpad, and rootsh you will need to enable the maemo extras catalog.
Go to the applications manager, (called app.manager under More) and click the top bar. Click application catalogs, and then click maemo.org.
(please tell me if you dont have it.)
Uncheck "disabled", press save, click in the blurry area to close the bar, and wait for it to refresh.

Browse by alphabetical order and install leafpad, and rootsh.
When you find leafpad, click it, check the agreement box, and then "continue"
(Both apps are very stable. The change of messing up your phone is very small.)

Now its time to edit the actual file.
<Insert disclaimer here>
(If you mess up this file, the menu when you press the power button will only have "phone", but thats about it for damage.)

Open xterminal
Type
Code:
sudo gainroot
You now have full access over the N900
Type
Code:
cd /etc/systemui
"cd" means "change directory" to the directory "/etc/systemui"
(Press Tab to have to computer finish words. Double tap tab to display all options)
Type
Code:
leafpad systemui.sys
This will open the file that we need to edit.

Browse to near the bottom of the file, and find this:
Code:
<!--
and delete it
Then find
Code:
<--
at the bottom of the file and delete it as well.
Save the file, (Menu > save) and close leafpad and terminal.

Restart your N900, and Presto! you should have a reboot option.

~Wild_Doogy

Please comment if you find any errors, or parts that are unclear.
Hi , When I type the code leafpad systemui.sys , I get a white blank page and nothing else , am I doing something wrong ?

Cheers and thanks in advance
 
Posts: 334 | Thanked: 45 times | Joined on Jan 2010
#728
ok no thanks to u guys, ive figured it out. The battery pack i got from here wud seem to be incomplete
 
Posts: 3 | Thanked: 0 times | Joined on Feb 2010 @ Netherlands
#729
Originally Posted by SR90 View Post
Hi , When I type the code leafpad systemui.sys , I get a white blank page and nothing else , am I doing something wrong ?

Cheers and thanks in advance
He means "systemui.xml" in /etc/systemui/ instead of "systemui.sys".
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#730
my mod:

random bootvideo on startup

how to:
http://talk.maemo.org/showpost.php?p...5&postcount=35
 

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

Tags
maemo mods, mods thread

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:26.