LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-20-2008, 03:00 AM   #1
Nonc
Member
 
Registered: Mar 2006
Location: Nottingham, England
Distribution: Ubuntu
Posts: 59

Rep: Reputation: 15
How do you organize your home directory?


hi,

I've got the opportunity to reorganize my home folder atm. but I'm not sure how to do it.

I am betting that most people on here have their home folder very organized, but how do you do it?

nonc
 
Old 02-20-2008, 09:25 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I don't know that I would call it very organized, but I do have a few directories on there to keep things in some sort of order. I usually make directories for documents, music, downloads, images, source code, and a general temporary directory for anything else. I also have a directory for Wine to use as the virtual C: drive, which gives me easy access to all of the Windows applications' files (on machines where I use Wine, obviously).

But it is really a matter of personal taste as to how you go about it.
 
Old 02-20-2008, 09:49 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
I just add a few directories: Downloads, Docs, Progs, whatever else when needed.
 
Old 02-20-2008, 10:32 AM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
I copy the Windows folder names since I am used to it. My Documents, My Music, My Pictures, My Videos, Downloads, etc...
 
Old 02-20-2008, 02:43 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Being geeky as I am, I there are 5 directories in my home folder:

bin - stores executables (ELFs, scripts, etc.) added this to global $PATH to help me develop scripts and programs more rapidly, to allow for better local installs just for my user.
lib - libraries files, sometimes I put programs in here like untar FF and symlink the ELF to 'bin'
opt - school and work stuff, it's optional of course
tmp - downloads, is cleaned regularly, parsed to other places (usually var)
var - lots of stuff, takes up lots of space, some stored config files, junk also goes here sometimes

They don't quite match the typical *nix directories, but they're pretty close.

Another reason I did this is so I have less to type on the command line and less chances to misspell ... it's much easier to misspell 'downloads' (hah, I just did it and corrected it from: downleads), docements, I mean 'documents'. Ok, so I misspell things often. But I don't misspell tmp or opt or var or bin or lib. A great solution I think, yeah I'm a geek
 
Old 02-20-2008, 03:16 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Not that much of a geek - you forgot to use tab completion which prevents misspelling

My home directory is organised as an when I need it - I have a downloads folder, a pictures folder and then I create further folders as and when I need them.
 
Old 02-20-2008, 03:41 PM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Yeah pretty much the same. I have folders for recieved msn files, documents (i.e. letters etc). The usual stuff. Downloads, packages and my photo work is on a seperate partition where I have plenty of space.
 
Old 02-20-2008, 04:04 PM   #8
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Code:
pwc101@homebox:~> ls -l ~
drwx------  2 pwc101 users   83 2008-02-18 20:46 Desktop
drwxr-xr-x  2 pwc101 users 4096 2008-02-19 09:48 bin
drwxr-xr-x  7 pwc101 users 4096 2008-02-20 16:48 downloads
lrwxrwxrwx  1 pwc101 users   15 2007-09-23 12:09 failsafe -> /media/failsafe
drwxr-xr-x  5 pwc101 users  132 2007-12-24 15:22 images
drwxr-xr-x  3 pwc101 users   25 2007-12-25 00:03 network
lrwxrwxrwx  1 pwc101 users   15 2007-03-26 00:12 portable -> /media/portable
drwxr-xr-x 10 pwc101 users 4096 2007-11-21 22:24 software
drwxr-xr-x 18 pwc101 users 4096 2008-02-18 21:49 src
drwxr-xr-x 12 pwc101 users 4096 2008-02-19 16:27 tmp
lrwxrwxrwx  1 pwc101 users   10 2007-03-26 00:16 usb -> /media/usb
drwxr-xr-x  2 pwc101 users    6 2007-12-30 18:15 vmware
drwxr-xr-x  2 pwc101 users   23 2007-09-17 21:45 web
failsafe, portable and usb point to some external drives I have.
bin I added to my path and has little scripts and some apps I've built and don't want in the main system.
downloads is downloads.
images has photos etc.
network has symlinks for samba shares.
src has slackbuilds and other software I'm in the middle of compiling, whilst software has source tarballs for previous builds.
tmp is full or stuff I can't find a place for.
vmware was put there by vmware
web has a website I started but haven't finished.
 
Old 02-20-2008, 05:09 PM   #9
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
I took some of the windows naming of my pictures and such and dropped the my in front of everything then moved them out from under documents since pictures and music and such are not documents. so I end up with:
home/user/documents
home/user/pictures
home/user/music
home/user/video
home/user/vmware
home/user/iso
home/user/accounts
home/user/projects
home/user/personal

etc.

the whole "my documents" is just too vague for me so I have folders like accounts, projects, personal with such things as bank statements, projects, my resume and such under personal.
 
Old 02-20-2008, 05:32 PM   #10
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Nothing special about mine either. I have bin, doc, mail and tmp as standard on all my boxes. Anything else is specific to what I'm doing on the box. There might be workspace (for eclipse), vmware or Desktop. The only other stuff would be sym links to whatever I'm actually working on.
 
Old 02-20-2008, 05:51 PM   #11
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
My distro already creates a Documents directory. I also create a bin directory for scripts. The startup scripts adds it to my path if it exists. I also have downloads, .tmp and podcasts. The podcasts is a link to an nfs mountpoint under /mnt/. I'll create subdirectories in Documents for things like pdfdocs, webarchives, pictures, etc. A temp or .tmp directory is a handy if you use K3B. If it needs to create a DVD image file, it may not fit on the tmp partition.

As far as I am concerned, who ever though up the "My[sp]" prefix deserves to be flogged.

Last edited by jschiwal; 02-20-2008 at 05:53 PM.
 
Old 02-20-2008, 06:15 PM   #12
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Mine is probably a bit unusual. My home directory is a 1GB flash drive and I alredy had some organized partitions from when I used Windows. I have a ~/Downloads directory and my ~/Documents is a symlink to my old "My Documents" partition from the Windows days. Music, Videos, Pictures, et al were already there. This way, when I do boot Windows I can share the same folders.

I also symlinked Firefox's Cache directory to a dedicated directory under /tmp, then edited my .xinitrc to make sure that directory exists when X starts because I clear /tmp during shutdown. And for the iD games like Quake and Doom I have the save directories symlinked to the save directories on my Games partition.
 
Old 02-20-2008, 06:31 PM   #13
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Quote:
Originally Posted by jschiwal View Post
As far as I am concerned, who ever though up the "My[sp]" prefix deserves to be flogged.
Much agreed! I started during the days of DOS and Windows 3.11 when there was no designated location for documents. I remember Windows 9x, when a family would share the same C:\My Documents folder. It was cute to call it "My" Documents, but in reality it was more like "Our" Documents. And as viruses and spyware became more widespread, it became "The World's" Documents.

I can still remember this part of a funny tech support story.
TECH: Now click on My Computer.
CUSTOMER: How can I click on your computer?!
 
Old 02-20-2008, 08:19 PM   #14
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
A related pet-peeve with W95 & XP is a space in C:\Program Files\. If it weren't for the space, a local non-priviledged installation of Cygwin at work would be possible.
 
Old 02-20-2008, 08:28 PM   #15
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Thats why I dropped the who my thing too. I edited the windows side so the my whatever is just whatever.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
restoring desktop directory in /root (or any home directory) mel_lai Linux - Newbie 3 02-04-2008 03:13 AM
Active Directory User Cannot Write to Samba Home Directory jonwatson Linux - Networking 2 12-19-2006 12:40 PM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
How to protect a file/directory in your home login directory (RH Linux) jitsenho Linux - Security 9 07-03-2006 11:08 PM
How do _you_ organize your home directory? Cyth Linux - General 9 03-03-2003 06:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration