maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Troubleshooting (https://talk.maemo.org/forumdisplay.php?f=6)
-   -   Help with edit (https://talk.maemo.org/showthread.php?t=13268)

Mitsiboy 2007-12-16 22:58

Help with edit
 
I have mounted my hd on my 770, and it works fine. The problem is that I don't want to type the mount line in every time. I read in thoughfix' s site about a script that you can use to mount and unmount the device. The problem is that I type edit /etc/sudoers in xterm and it says sh: edit: not found. Do I need to enable root with the flasher, or am I typing the wrong command in? Thanks for all of the help.

Bundyo 2007-12-16 23:31

Re: Help with edit
 
Both :)
You may need or may not need to be root to mount (most probably you will). Try using different editor (like vi or mcedit for instance, may need to be installed before use).

Also you can use load-applet-run to run the mount command from the statusbar. Here is the OS2006 version:
http://maemo.org/downloads/product/O...d-applet-runn/

Mitsiboy 2007-12-17 01:26

Re: Help with edit
 
With that program I still need to write and save a script for it to run. I am not sure how to do that.

fnordianslip 2007-12-17 01:57

Re: Help with edit
 
PyGtkEditor is pretty good and lets you browse the whole filesystem, although you'll need to run it as root to modify system files.

Mitsiboy 2007-12-17 02:56

Re: Help with edit
 
I could not get pygtkeditor to install, but I installed VIM. Can you give me a quick how to writing the script to mount an unmount the hd on sda1.


All times are GMT. The time now is 23:57.

vBulletin® Version 3.8.8