![]() |
Re: an already "gainrooted" xterm
Ok, but is it compatible/ported for maemo or is is x86 linux only?
And the stupid question... anything similar for us windows users? |
Re: an already "gainrooted" xterm
As a rule of thumb.. *never* use a windows text editor to edit linux files. Windows uses different end of line characters by default than Linux. Causes many weird things.
I believe visudo is already on the device - or at least available in the repo's (can't check atm). The sudoers file is very very sensitive. |
Re: an already "gainrooted" xterm
On my N900, visudo tells me no editor is set. I guess I have to make a symbolic link to /bin/vi however I do that.
|
Re: an already "gainrooted" xterm
Code:
export EDITOR=/bin/vi |
Re: an already "gainrooted" xterm
Ok, after this nice experiment I suddenly got awful battery issues. I need to investigate further...
EDIT1: something is "stuck" in the memory and pushes the cpu to 100% EDIT2: tried to run visudo and although "nothing happened", I got myself a nice running app called "vi" that was using my cpu 90-100%. The battery lasted 8 hours this way. |
Re: an already "gainrooted" xterm
Maybe add a red colourized xterm icon as well :)
|
Re: an already "gainrooted" xterm
2 Attachment(s)
Trying to follow the steps in this thread for a rooted xterm resulted in nothing. So I found a different way to do it.
Gain root access to a terminal : ssh / terminal + sudo gainroot 1.1. vi /usr/share/rootedXterm.sh 1.2. This command will create a file named rootedXterm.sh and open an editor named vi to edit it. VI is not an easy editor to work with if you don't know what you are doing, so please pay attention to the steps. 2.1. Now we will insert a line into out newly created file : 2.2. Press "i" > Type > sudo gainroot > Press ESC > Type :wq! 2.3. Press Enter. 3.1. Now we give our new file run permissions. 3.2. Type "chmod 755 /usr/share/rootedXterm.sh" press Enter. 4.1. Now we create a "desktop shortcut" for our new script. 4.2. Type : "vi /usr/share/applications/hildon/rooted_xterm.desktop" 4.3. Press "i" to enter "insert" mode, and insert or paste the following code into your file : Code:
[Desktop Entry]4.5. type ":wq!" And press enter, to save and exit the file. 5.1. We are done editing files, close the ssh or terminal window. 5.2. In your phone, go into your application manager, wait for it to refresh, and close it. 5.3. The new Rooted Xterm should now appear in you applications. 5.4. Create a desktop shortcut for it if you want as you normally do for other apps. GL. Beware, root is a dangerous mode, you can do whatever you want, including messing up your device. Eitam. Attachment 8063 Attachment 8064 |
Re: an already "gainrooted" xterm
Quote:
|
Re: an already "gainrooted" xterm
1 Attachment(s)
Quote:
It is the correct size BTW. |
Re: an already "gainrooted" xterm
Quote:
|
| All times are GMT. The time now is 08:12. |
vBulletin® Version 3.8.8