Reply
Thread Tools
Posts: 10 | Thanked: 0 times | Joined on Jan 2008
#1
im at the end of my tether with linux now, everything i try to do is hampered by it not being set out in a logical fashion, now im not a windows fanboy or anything but at least i can navigate folders on windows...

how do i get to the USR folder ?
ive installed apache (and ive used it before) but i cannot find this folder on the n800, i am a linux newb and this has hampered me from day 1 and untill now i havent bothered asking.

i assume i have to "become root" to find these folders ?
this imo is just stupid, i wish i could navigate to the internal memory from USB or somthing or if apache installed to SD card i could easily get going.

why do none of my programs install to my SD cards ?
is there a magical cache of memory hiding away inside my n800 that i cannot navigate to ?
what if i fill the thing up ?

sry for my ranting but this has been upsetting me for a while
 
Posts: 5 | Thanked: 3 times | Joined on Feb 2007
#2
I suspect your problem is that filenames and directories are case sensitive in Linux/unix and the dir you want to see is /usr. You do not have to be root see /usr, but you might have to be root to some change things.

If you are using Ubuntu, become root this way:

sudo cmd

where cmd is the command you want to run. sudo will prompt for a password, which is your user password on Ubuntu.

If you are not using Ubuntu, then go into superuser (=root) mode:

su

and it will prompt for the root password that you set up when you installed the distro.
 

The Following User Says Thank You to reb402 For This Useful Post:
Posts: 10 | Thanked: 0 times | Joined on Jan 2008
#3
thx for the reply but im refering to the n800 running maemo, ive installed the apache server for it, and i cannot find the files (file manager doesnt show the usr/ folder....)

i dont see a point in hiding these things, its not like i will delete everything by accident.
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#4
Originally Posted by Samba Pa Ti View Post
thx for the reply but im refering to the n800 running maemo, ive installed the apache server for it, and i cannot find the files (file manager doesnt show the usr/ folder....)

i dont see a point in hiding these things, its not like i will delete everything by accident.
becomeroot then you will become god of your machine. Including messing it up!

If you have root access and xterm do a logical link from your
/home/user/MyDocs/.documents to any directory you like to access; then you will see it under the "provided" file manager.
For example,

#cd /home/user/MyDocs/.documents
#ln -s /home/user home

You will see a "new" home directory under Documents of the File Manager. You can traverse from there !

Remember Nokia did not want you to put a webserver on the N8x0 !!
That was why Nokia only gave you that restricted file manager.
 

The Following User Says Thank You to nhanquy For This Useful Post:
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#5
You can see where all files of a package are installed by typing in xterm
Code:
dpkg -L name-of-the-package
Unlike Windows with linux all files of a package are usually not in a single folder. System wide configuration files of apps go in /etc, binaries (like the exe files in windows) go to /usr/bin, libraries (like dll files in windows) go to /usr/lib, and images to /usr/share. Per user settings go to /home/<username>/.<name-of-application>. Per-user settings usually take precedence over system wide settings.

I suggest you read up a little on basic commandline stuff like moving files, changing file permissions, the linux directory structure, and starting and stopping services. I've been using linux for half a year now and I know how weird it seems at first.

Last edited by iamthewalrus; 2008-03-02 at 14:30.
 

The Following 2 Users Say Thank You to iamthewalrus For This Useful Post:
Posts: 10 | Thanked: 0 times | Joined on Jan 2008
#6
thanks for the help il see how i get on
 
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#7
I realise that the link I gave was more intermediate-level tips and tricks. You better google on the essential linux commands like cd, find, cp, mv, rm, more, grep, mount, chmod, chown. They are like the cd, copy, rename etc. in Windows.

Last edited by iamthewalrus; 2008-03-01 at 16:52.
 
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#8
Wow, I'm having a DOS/Unix command line flashback!
__________________
Nokia Developer Champion
Different <> Wrong | Listen - Judgment = Progress | People + Trust = Success
My personal site: http://texrat.net
 
Posts: 364 | Thanked: 54 times | Joined on Feb 2008
#9
hahahaha...no kidding!! Next thing you know we are gonna have to manually configure IRQ's, allocate extended and expanded RAM...and find that old copy of QEMM386 that is somewhere in storage.

We want DRDOS!!!

Last edited by brecklundin; 2008-03-02 at 02:03.
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#10
Originally Posted by Samba Pa Ti View Post
thx for the reply but im refering to the n800 running maemo, ive installed the apache server for it, and i cannot find the files (file manager doesnt show the usr/ folder....)

i dont see a point in hiding these things, its not like i will delete everything by accident.
go www.gronmayer.com/it/index.php search for filemanager of your OS (2008 or 2007 or whatnot...), click the green install button, install GPE-filemanager 0.30. It is a GUI for file manager, supplement to the Nokia filemanager.

Or even better, http://wardenclyffetower.com/MaemoFiles/emelfm2/, dl the bora (2007Os) or chinook (2008Os), and install emelfm2. It is a very powerful filemanager, allows among others, create/edit files, become root, dual windows... more powerful, less user friendly, just like anything in life.


bun
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:45.