Personally, to keep my documents like Inkscape files or LibreOffice documents separate from my code, I add a directory under my home directory called Development. There, I can do git clones to my heart’s content
What do you all do?
~/dev/, with project/org subdirectoriesAdmittedly, that irks me slightly just because of the shared name with the devices folder in root, but do what works for you.
I actually have my whole home directory like that for that reason haha
bin - executables dev - development, git projects doc - documents etc - symlinks to all the local user configs med - pictures, music, videos mnt - usb/sd mountpoints nfs - nfs mountpoints smb - smb mountpoints src - external source code tmp - desktopThis is pure insanity. Chaos.
Fascinating idea!
~/src/ Simple, effective, doesn’t make my home folder any more of a mess than I already left it as.
${HOME}/reposSame, but by language, e.g.
Development/Python.Thinking of the projects I work on, I don’t understand the value in categorizing by language, rather than theme (
~/Development/Web/,~/Development/Games/) or just the project folders right there.Yeah, everyone has to find their own way of organising, I guess. For me, there are too many different little projects that it would get messy throwing them all in one folder. And they’re so varied that I couldn’t think of one single “theme” or topic for most of them. Nothing I would remember a week later anyways.
~/src/${reponame}~/git, for projects I cloned from the web because I don’t know how to code :(
~/.projects
~/code/$LANGUAGE/$REPONAME
I used to use
~/devbut for years now I use~/Workspacebecaue Eclipse made me do itI use
~/workspace. I think I got this from when I first started using Java years ago. Eclipse created new projects in this directory by default maybe?I do this too, maybe this explains why
~/dev
~/codefor everything I want to change/look at the source code.~/.local/srcfor stuff I want to install locally from source.For a project called “Potato Peeler”, I’ll put it into a structure like this:
~/Projects/Tools/Potato-Peeler/potato-peeler/Tools/is just a rough category. Other categories are, for example,Games/andMusic/, because I also do gamedev and composing occasionally.Then the capitalized
Potato-Peeler/folder, that’s for me to drop in all kinds of project-related files, which I don’t want to check into the repo.And the lower-case
potato-peeler/folder is the repo then. Seeing other people’s structures, maybe I’ll rename that folder torepo/, and if I have multiple relevant repos for the Project, then make itrepo-something.I also have a folder like
~/Projects/Tools/zzz/where I’ll move dormant projects. The “zzz” sorts nicely to the bottom of the list.~/src
All over the place…








