maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 -- is a file manager possible with access to areas like xterm (https://talk.maemo.org/showthread.php?t=42872)

buxz777 2010-01-31 16:34

N900 -- is a file manager possible with access to areas like xterm
 
hi there

sorry if its been asked before , iam a bit of a n900 and linux newb , trying to get the most out of my device after moving from symbian s60 that ive used and hacked for around the last 10 years

ive seen many threads that use xterm to move files between folders etc which can be a bit confusing (iam trying to learn lol but its so new)

i was wandering if there was a possibillity of a file manager that has access to areas like xterm does

this way moving files wouldnt involve using command in xterm which would maybe make things alot easier for newbie users and maybe quicker for expert users as well as naviagting a file directory can be easily as quick as typing command in xterm surely??

i am learning and have allready learnt alot due to this community but i hate asking for help on everything and being a newbie i really could ask for help on alot of stuff lol :-)

ive spent the last two weeks with my head buried in this forum and my n900 and iam getting there slowly but i am getting there :-)

thanks for any replys much appreciated

ps
can someone give me an example of moving a file from documents to say sounds lets call the file happy.mp3 using xterm commands after the sudo gainroot command

thanks in advance again

casper27 2010-01-31 16:38

Re: N900 -- is a file manager possible with access to areas like xterm
 
There is mc in the extras repo. Usual warnings for activating that. I have also been using GPE file manager which is a little bit like windows. The easiest way is to download WinSCP for windows and ssh into the phone. This is then represented in a nice GUI.

b666m 2010-01-31 16:42

Re: N900 -- is a file manager possible with access to areas like xterm
 
file manager to download are "mc" (midnight commander), "emelfm2" and "gpe file manager". but i would go for "mc". :)

they are available in the extras or testing or devel repository.
if you want to know where they are... search here: http://maemo.org/packages/

mhm... i think the best way is to use the man-pages or --help or google for commands :)

edit: too slow ^^
but ssh is also a nice way for doing that.
and the best about this is:
when the system gets screwed up (because something dumb happens xD) you can ssh in and may try to repair it before you have to reflash it.

buxz777 2010-01-31 16:44

Re: N900 -- is a file manager possible with access to areas like xterm
 
hi there casper mate appreciate the reply :-)

mc i take it is a file manager with the sort of sccess that xterm has??

how long has this been in the extras , should it be appearing in the other download sections soon

id love to get hold of a file manager so i can copy and paste files anywhere :-)

thanks again mate

edit

just saw you post too bp mate so big thanks

thanks guys appreciate it ill keep doing my homework and check out these file managers :-) really appreciate that and i should have known the community has allready thought about this and was implementing it thats what i love about the open source maemo o/s :-)

torpedo48 2010-01-31 16:45

Re: N900 -- is a file manager possible with access to areas like xterm
 
Hi buxz777.
You can use the default file manager for moving files between folders, but only in MyDocs folders (File Manager do not have access to system folders).

For example, if you want to move from Documents to Sounds the happy.mp3 file:

- Using the default File Manager:
Open it, than find your Documents folder. Right click (hold your finger) on happy.mp3, then select move and the Sounds folder as destination.

-Using X-Term:
You do not have to use sudo gainroot for moving files in non-system folders.
Type

cd/MyDocs/.documents/

Then

mv happy.mp3 /home/user/MyDocs/.sounds

For system folders you can use OpenSSH and WinSCP on your PC.

buxz777 2010-01-31 16:52

Re: N900 -- is a file manager possible with access to areas like xterm
 
wahey nice tips on the commands there torpedo :-)

so if i want system files i will have to become sudo gainroot

i would them cd (jump/move) to the folder where the file is

i would then type

mv filename/where/i/want/file/to/go --- just demo obvously has to be folder path structure :-)

what about copying a file instead of moving it , is that cp or something simmilar

ill take a look into the file managers and also all about ssh etc , is there any guides and tips on setting up ssh that i can read through with a nice cup of tea to get some understanding before i delve into it

cor ive got alot to learn coming from symbian :-)

lucky you guys are aroound to point me in the right direction :-)

ps
was looking here at linux commands http://www.debianhelp.co.uk/commands.htm

any others worth reading :-) or guides i should check out that helped you peeps :-) iam all up for learning

torpedo48 2010-01-31 16:58

Re: N900 -- is a file manager possible with access to areas like xterm
 
Quote:

Originally Posted by buxz777 (Post 503953)
wahey nice tips on the commands there torpedo :-)

so if i want system files i will have to become sudo gainroot

i would them cd (jump/move) to the folder where the file is

i would then type

mv filename/where/i/want/file/to/go --- just demo obvously has to be folder path structure :-)

what about copying a file instead of moving it , is that cp or something simmilar

ill take a look into the file managers and also all about ssh etc

cor ive got alot to learn coming from symbian :-)

lucky you guys are aroound to point me in the right direction :-)

ps
was looking here at linux commands http://www.debianhelp.co.uk/commands.htm

any others worth reading :-)

It seems you have properly understood the cd and mv commands.

If you want to copy or rename a file, just type:

cp filename destinationfolder --> for copying

mv filename filename2 --> for renameing

Feel free to ask for further help.

b666m 2010-01-31 17:04

Re: N900 -- is a file manager possible with access to areas like xterm
 
Quote:

Originally Posted by buxz777 (Post 503953)
any others worth reading :-) or guides i should check out that helped you peeps :-) iam all up for learning

the most important commands are:

cd <- change directory
cp <- copy file/folder
mv <- move file
ls <- list files/folders
cat <- show content of file
mkdir <- make directory
rm <- remove file/folder

with these seven commands you'll come very far ;)

every command has some options too, for example:
ls -a <- show all files/folders (even hidden ones)
cp -r <- copy recursive. copies a folder with its contents. :)

very important is to learn how the man-pages / --help work:
man cd <- shows the manual of cd
cd --help <- shows short help

with man and --help you can look at most commands and how to use them :)

richie 2010-01-31 17:12

Re: N900 -- is a file manager possible with access to areas like xterm
 
Quote:

Originally Posted by buxz777 (Post 503953)
ps
was looking here at linux commands http://www.debianhelp.co.uk/commands.htm

any others worth reading :-) or guides i should check out that helped you peeps :-) iam all up for learning

http://wiki.maemo.org/Terminal

tycho 2010-01-31 17:16

Re: N900 -- is a file manager possible with access to areas like xterm
 
You could also start the xterm and "sudo gainroot" then "mc" to run Midnight Commander in root mode but you'd have to be careful.

buxz777 2010-02-01 08:56

Re: N900 -- is a file manager possible with access to areas like xterm
 
hey peeps was offline yesterday , installed ubuntu 9.10 on a dual boot with vista , thought the more i used linux the better to get to grips with how things tend to work , files involved , folder structures etc

ill also read through the extra links you provided

and b666m thanks for pointing out the most common/usefull commands

its really helped me and i can allways pop back to this thread and go through things

appreciated loads peeps thanks

one more thing bit off topic but on me mind a bit i have used about 69% of my rootfs and have about 70mb left is this ok when should i start worrying ive read when it fills up trouble can start

if it does fill up will a flash of the emmc and the o/s of the phone fix it via maemo flasher 3.5 which ive used allready :-) or wont i be able to flash it if this is filled up??

cheers hope your having a nice morning its freezing here lol :-)

thansk again

torpedo48 2010-02-01 09:14

Re: N900 -- is a file manager possible with access to areas like xterm
 
Quote:

Originally Posted by buxz777 (Post 504753)
one more thing bit off topic but on me mind a bit i have used about 69% of my rootfs and have about 70mb left is this ok when should i start worrying ive read when it fills up trouble can start

if it does fill up will a flash of the emmc and the o/s of the phone fix it via maemo flasher 3.5 which ive used allready :-) or wont i be able to flash it if this is filled up??

cheers hope your having a nice morning its freezing here lol :-)

thansk again

I have 40MB left on my rootfs and I'm ok, so you can be peaceful with your 70MB left. You should start worrying when you have filled it up nearly completely, but if you don't mess up with devel apps you'll never reach that point.

If you want to find out what packages occupy so much space on your rootfs (not now, just in case you have only a few MBs left), I suggest you use Storage Usage and its package scan feature.
It let you know if a package is non-optified and how much it takes in your rootfs, so that you can remove it.
Give it a try:

http://maemo.org/downloads/product/Maemo5/storageusage/

ruskie 2010-02-01 09:23

Re: N900 -- is a file manager possible with access to areas like xterm
 
buxz777 stop thinking in Symbian terms(i.e. locked down by default). Here you start out with full access. Anything that doesn't give full access has an artificial limit in it's own code(and should probably be replaced by something alternate). And as people said there are file managers out there that do it. You could even use ssh+scp(winscp) to manage files on your device from your windows system(search the forum for the exact instructions I won't rehash them). But sometimes you don't have anything other than a terminal that still works. So knowning how to use that is a good idea :)


All times are GMT. The time now is 09:51.

vBulletin® Version 3.8.8