Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The difference is that I don’t use standard XDG directories because I loathe dot-files, loathe hidden directories, and so I declare my own environment variables to put everything where I want.

Then Firefox (and ansible, and many others) comes barreling in dropping an unconfigurable dot-directory in my fucking home folder ignoring the perfectly good XDG variables I have set.

It is a constant struggle to stop my home folder from not feeling like my home. Developers ought to learn some fucking respect.



This, I set an alias for `adb` to use `"$XDG_DATA_HOME"/android` instead of `~/.android` because it stores the keys there for whatever reason. I would rather not see my home folder being cluttered with hidden files, it makes backing things up unnecessarily complex.

    export ANDROID_USER_HOME="$XDG_DATA_HOME"/android
    alias adb='HOME="$ANDROID_USER_HOME" adb'


Don't forget Gradle ("GRADLE_USER_HOME") and OpenJDK ("-Djava.util.prefs.userRoot"), those too litter.


Perhaps you should've started to launch your shell in "~/home" instead of "~". Now your home is 1 level down, and the only downside is typing "/home" after the tilde.


You could try flatpak Firefox, if that works for you then it takes care of that




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: