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 ?
Code goes in the
Developerfolder(I got used to that name on macOS, where it is the “canonical” name for it, because it automatically gets a special icon)
~/Repos (For all the github and other code repositories I work in)
~/Scripts (All my random Bash scripts, sometimes for testing out stuff)
~/Junk (Mostly used for testing programs or small project components that aren’t mature enough to have their own repo)
Archive
Archive archive
Archive_11_2025
I am not good at organizing
~/Brojetos(anything relating to making stuff, writing, drawing, video creation, programming, etc., professional or personal)~/temp(a non-hidden temp folder with a script that wipes it when the PC shuts down or reboots, used for downloads and such to prevent the “downloads folder is an abomination” problem that plagues any computer after a while of usage)~/AppsGames(appimages, applications compiled from source and not installed to system, personal use scripts, wineprefixes, non-steam games)aaaand
~/OtherAminals(for stuff I want to keep but have no idea where else to place)~/{nextcloud,git,pictures/screenshots,music,docs,videos}In terms of what I manually create. Dot directories normally get automatically created but I guess I’d create a
~/.configif it didn’t get created.deleted by creator
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.
Apps (local executables, appimages, etc.), Projects (Work, hobbies), Sync (things I need everywhere), tmp (files I will probably delete sooner than later), and Data. Also Vaults and Boxes, only if I need them.
Outside of some folders I made specifically because an app required it, I have a “games” folder for most of my games and a “.lutriswine” folder to have Lutris use a different directory from Wine.
I have internal RAID1s that store at least two directories apart from any OS or home dev.
…/repos …/misc
Misc contain timestamp fstabs, mdadm.conf, rust/python/apt user-inatalled package names, among other notes and small files.
I also sync my master org directory between my documents snapshots and the repos dir
My homedir is an infernal hellhole of junk accumulated over the past 15 years and I wouldn’t have it any other way
Mine used to be the same but the last OS reinstall I reset everything, moved my files onto an external drive, and only copied them over on a needs basis. I’d been keeping the same home dir since I was like 4 or however old I was when I started using a computer. So needless to say there was a lot there that made me cringe to see every time I tried to navigate my files.
Mine used to be like that, but now my home folder is rehabilitated by turning ~/Documents into a hellhole of accumulated junk instead.
There are 15 year olds using Lemmy??
/s (my documents folder is the same, but older … much a lot too many very older :|)
Multiple people in this topic say they organise in directories for different programming languages, something I have never considered and I find it to be an odd way of organising for some reason I can’t explain.
Where do you put a project with a Javascript frontend and a Python backend?
In a folder called javpy, of course!
Since projects of the same language often use the same tooling this makes it easier to clean up the whole directory by running something like this:
for d in ./*/ ; do (cd "$d" && somecommand); donesomecommandcould becargo cleanif you’re in the Rust directory for example.for me I consider that a web project so it goes into the typescript folder, if it’s backend only then python
Why group it into language instead of say a ‘web’ directory or ‘android’/‘mobile’?
I’m just curious, I am more of a ‘throw everything in one directory and home I remember what I’m looking for’ sort of organiser.
for me the project exists because I thought “id like to play with <language> today” but not necessarily “I want to make a <platform> project”
I agree, just have it by project. Otherwise I might have to look in different folders to find something. And what does it add, that something is grouped by language?
My home folders on any OS have a
Developmentfolder (which conveniently sits right next toDocumentsandDownloads) and in that folder, I’ve also got subfolders per programming language that have the respective projects in them.The other folder I usually have is
SyncThingwith whatever synced folders are relevant for that machine.Yep, I also have a directory for my programming projects on each of my machines, but mine is
Programming. On my main desktop, I also have anISOsfolder to hold my OS ISOs for VMs and old CD-ROM game ISOs.deleted by creator
~/ linux iso’s
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.










