$HOME, not so sweet $HOME

This post is a detailed discussion into user profiles, their directories, and how they are—to put it bluntly—in total disarray on Windows and Linux (I haven’t used a Mac in ages, but I assume the situation is very similar there, too). Applications treat the user profile as a dumping ground, and any user with a reasonably wide list of installed software will find their user profile very difficult to traverse after some time in use. There are platform conventions and attempts to standardise things on more open-source platforms, but a lot of developers resolutely refuse to change the behaviour of their software for a variety of reasons (some less valid than others).

The first part is a deep dive into user profiles on Linux and Windows, and the conventions that have been established on these platforms over the years. The second section details how they are broken on each platform, and why they are broken.

This happens to be one of my “pet peeves” as well. One the left, my home directory. On the right, my home directory but with all the garbage unhidden. This is bananas.

First, it’s been my long-standing conviction that if you, as a developer, need to actively hide things from the user in this way, you’re doing it wrong and and you’re writing bad code. If you’re an operating system developer, don’t use hidden directories and files to hide stuff from the user – use clear directory names, encourage the use of human-readable file names and contents, and put them in places that make sense.

Second, if you’re an application developer, follow the damn guidelines of the operating system you’re coding for. More often than not, these guidelines aren’t that hard to understand, they’re not onerous, and they’re certainly not going to be worse than whatever nonsense you yourself can come up with. Having a hidden .paradoxlauncher directory in my home directory displays just such an utter disrespect for me as a user, and tells me that you just don’t care, whether that’s you, the developer, personally, or whatever manager is instructing you to do the wrong thing.

At the same time, aside from excessive symlinking, there’s really no solution to any of this. As users, we just have to deal with the results of incompetence and ridiculous crunch culture in software and game development.

76 Comments

  1. 2023-08-19 8:21 pm
    • 2023-08-21 3:18 am
      • 2023-08-21 11:30 pm
  2. 2023-08-19 8:42 pm
  3. 2023-08-19 8:59 pm
    • 2023-08-20 12:05 am
      • 2023-08-20 8:14 pm
        • 2023-08-20 9:38 pm
          • 2023-08-21 12:59 am
          • 2023-08-21 2:43 am
          • 2023-08-21 10:44 am
          • 2023-08-21 1:04 pm
          • 2023-08-21 7:46 pm
          • 2023-08-21 11:50 pm
          • 2023-08-22 12:13 am
          • 2023-08-22 12:17 am
          • 2023-08-22 1:21 am
          • 2023-08-22 1:50 am
          • 2023-08-22 8:11 am
          • 2023-08-22 10:37 am
          • 2023-08-23 1:50 am
          • 2023-08-23 5:30 am
          • 2023-08-24 12:58 am
    • 2023-08-21 4:42 am
      • 2023-08-21 10:06 am
        • 2023-08-21 10:44 am
          • 2023-08-21 2:03 pm
          • 2023-08-22 12:10 am
        • 2023-08-22 12:02 am
      • 2023-08-21 10:19 am
        • 2023-08-22 12:14 am
          • 2023-08-22 12:45 am
          • 2023-08-24 1:08 am
          • 2023-08-24 2:25 am
          • 2023-08-25 1:00 am
          • 2023-08-25 2:04 am
          • 2023-08-25 12:07 pm
          • 2023-08-25 2:41 pm
          • 2023-08-26 3:24 am
          • 2023-08-26 5:26 am
          • 2023-08-27 6:26 pm
        • 2023-08-22 12:26 am
    • 2023-08-21 10:11 am
  4. 2023-08-19 9:41 pm
    • 2023-08-20 7:26 pm
    • 2023-08-21 3:29 am
      • 2023-08-21 9:31 am
        • 2023-08-21 9:54 am
    • 2023-08-21 10:46 am
  5. 2023-08-19 9:58 pm
    • 2023-08-19 11:40 pm
      • 2023-08-20 1:34 am
        • 2023-08-20 6:09 am
          • 2023-08-20 1:26 pm
      • 2023-08-20 8:31 am
        • 2023-08-20 2:03 pm
  6. 2023-08-20 2:53 am
    • 2023-08-22 12:27 am
  7. 2023-08-20 6:50 am
    • 2023-08-20 10:01 am
  8. 2023-08-20 12:42 pm
  9. 2023-08-20 4:47 pm
    • 2023-08-24 1:12 am
  10. 2023-08-20 5:18 pm
  11. 2023-08-21 9:44 am
  12. 2023-08-21 9:55 am
  13. 2023-08-21 10:17 am
    • 2023-08-21 10:42 am
    • 2023-08-21 11:32 am
    • 2023-08-21 11:57 pm
  14. 2023-08-21 10:43 pm
  15. 2023-08-24 3:34 am
    • 2023-08-25 12:03 pm
      • 2023-08-25 4:00 pm
        • 2023-08-26 3:18 am