Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I despise all junk that programs generate in my home directory; I'd like to see this stuff placed in $XDG_CONFIG_HOME and $XDG_CACHE_HOME.

However, there are too many programs to configure and most of them probably have path hardcoded to $HOME anyway.

I'd like to know if it's possible to somehow change $HOME to ~/.home while keeping original home dir for such things as BASH and that minimal file browser that apps use for opening/saving files.

share|improve this question

I ran across libetc a couple months ago. I've never used it, and it is an LD_PRELOAD hack, so I'd be careful, but it sounds like what you're looking for.

share|improve this answer
That's exactly what I'm looking for. I'm going to backup important dot-files in my $HOME and see how it works. Here's a guide on ArchWiki: – usr Nov 30 '11 at 0:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.