I realized I always make a source folder under home and then subfolders named after programming languages to organize projects but then I realized I somehow had my own convention for how to store my source code and I have no idea where I got it from
Then I thought. what about other Linux users ?
What sorts of conventions do you have that pertains to folder structure in Linux ?
~/Projects
~/bin/ which I add to my $PATH
~/autoclean and a cron job to delete everything older than 7+ days from there. I can just download whatever, throw it in a special folder and it’s gone after few days. Keeps my ~/Downloads a bit more clean, easy to store temp txt files to keep track of what I currently have on hand and so on.
I remove files and folders older than 30 days in my Downloads folder. But my work does make me download things that I often only need for less than a day. If I need to keep something, then it goes into whatever folder or online service where it should be. It is deleted to my trash bin and that has another 30 days before being permanently deleted. I haven’t had to pick anything out of the trash just yet.
~/Projects - for my coding projects
~/Qt - which holds the Qt framework
~/Torrents - For torrents that I share
~/dev~/dev/oss~/dev/work~/dev/personali have a ‘src’ directory. tho my home directory is extremely messy, ls | wc -l gives me 170 now…
~/3D Objects
Archive
Archive archive
Archive_11_2025
I am not good at organizing
Conventions I have are:
- Downloads folder is ephemeral, don’t store/keep things in there I might want
- ~/scripts - personal scripts and one offs
- ~/Documents/projects/[subdir] - any tech project I may be working on, gets homed here
- /tmp - always mount it
noexec
I also start off allocating ~ 50GB to
/(root) volumegroup. Wine and proton have been taking up nearly the full space though, may need to expand it on my desktop soon.~/Transfer
for SyncThing
~/diy for my collection of knitting, crochet and sewing patterns and other assorted diy stuff
~/work duh.
~/tools for my collection of more or less useful small scripts
~/sync for my syncthing folders
~/data symlink to my data partition (most of the others are also symlinks to their location on data)
I don’t really have a convention for programming projects yet. They used to land inside of ~/diy or in ~/tools or just random folders on data. I’ve got a ~/code folder now, but its contents are a mess.
Always backup your tools folder… In the past I only created backups for my “real” code folder and I was quite upset when I lost my small scripts in the last drive death.
I
rsyncmy home folder across installs. These are my standard extra folders.~/Books, with subfolders by topic.~/Comics, with subfolders by publisher, then by title, possibly with an intermediate folder for author or franchise.~/Programming, with subfolders by language, then project.At least two of these:
~/Stuff
~/Stuffs
~/Stuffz
~/Shits~/Stuff(1) as well?
No, ofc not, I’m not a degenerate without a plan!!
This isn’t a game.
$HOME/temp, $HOME/git, ln -s $HOME/git/scripts $HOME/scripts
I’m a
~/tmpman myself.
~/nixos/ for my NixOS config ~/repos/ for git repos ~/audio/ for my sound library and recordings







