top 50 comments

sorted by: hot top controversial new old
[–] 165 points 2 years ago (1 child)

Firefox has an issue that's been open for 20 years regarding implementing the XDG Base Directory Specification.

  • source
  • hideshow 2 child comments
  • [–] 53 points 2 years ago (4 children)

    Firefox is the biggest offender for me. ~/.mozilla instead of something sane like ~/.config/firefox

  • source
  • parent
  • hideshow 6 child comments
  • load more comments (2 replies)
  • [–] 88 points 2 years ago (4 children)

    my favourite part is Steam throwing in a symlink, a broken symlink, and a directory of 4 files and 7 more symlinks that all point to a more reasonable point in ~/.local/share/steam/

  • source
  • hideshow 7 child comments
  • [–] 26 points 2 years ago (2 children)

    Which indirectly led to this wild as fuck bug that nuked some poor user's data.

    https://youtu.be/qzZLvw2AdvM?si=FznMm9CQxD-da9S6

  • source
  • parent
  • hideshow 4 child comments
  • [–] 15 points 2 years ago* (1 child)

    Haha you just reminded me of that damn flashing broken steam sym link in my home folder, it's been there for years and I've yet to investigate or do anything about it.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 2 years ago (2 children)

    lol that's great. Does flatpak Steam do that too? I can't see anything from Steam directly in my home directory, and I use the flatpak version.

  • source
  • parent
  • hideshow 4 child comments
  • load more comments (1 reply)
    [–] 77 points 2 years ago (1 child)
  • [–] 59 points 2 years ago* (last edited 2 years ago) (1 child)

    It's one thing when they have legacy hardcode mountains preventing a standardisation, but I really dislike developers who just disagree with the standard and take away the choice as well and justify it with some made up problems with that standard.

    https://github.com/minetest/minetest/issues/864

    https://bugzilla.mozilla.org/show_bug.cgi?id=735285

    etc...

    Archlinux Wiki even has an article about those.

    https://wiki.archlinux.org/title/XDG_Base_Directory#Hardcoded

  • source
  • hideshow 2 child comments
  • [–] 47 points 2 years ago (5 children)

    Haven't used much of Linux before, can someone explain the joke?

  • source
  • hideshow 9 child comments
  • [–] 95 points 2 years ago (3 children)

    The Windows equivilent would be instead of putting application data in the AppData folder, it throws it in Documents, My Games, or just in the home folder directly.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 78 points 2 years ago (9 children)

    ah so like every fucking game and it's save files for some reason?

  • source
  • parent
  • hideshow 11 child comments
  • [–] 5 points 2 years ago*

    That's why i prefer to use Wine for games. Just change the symlinks in C:/users/ to somewhere sane, like .local/Games//save. Guess you could also use the variables in .config/user-dirs.dirs while creating the prefix, but i haven't tested that yet.

  • source
  • parent
  • load more comments (7 replies)
  • [–] 48 points 2 years ago*

    Yes.

    Many applications have configuration files. Historically these files were placed in your home directory aka "on the floor". The variable mentioned defines a directory where these files should go. Many applications ignore this.

    A non-linux version of this meme might go,

    "Here is the pizza you ordered"

    "Great, could you put it in my hands"

    "Lol (throws pizza on floor)"

  • source
  • parent
  • [–] 39 points 2 years ago* (last edited 2 years ago)

    $XDG_CONFIG_HOME is an environment variable that programs can (and should) read to determine the location for storing dotfiles (config files, kind of). Not reading (or caring about) the environment variable, and not adhering to the default of /home/username/.config/ results in them ending up in the home directory.

  • source
  • parent
  • load more comments (1 reply)
    [–] 29 points 2 years ago*

    Meanwhile kde scattering everything in .config/

    Image

  • source
  • [–] 26 points 2 years ago* (1 child)

    If plasma could put all their damn files inside a "plasma" folder that'd be great too.

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 25 points 2 years ago (2 children)

    In theory this issue can be solved with LD_PRELOAD trick. E.g. redirect all/most/some fopen calls to "$HOME" to some other directory. But before I try to tackle it myself: is there already a similar solution like that?

  • source
  • hideshow 3 child comments
  • load more comments (1 reply)
    [–] 24 points 2 years ago* (1 child)

    I love you all very much but just please be aware that "the floor" is literally where the files are supposed to go, according to the spec. I don't like it, you don't like it, nobody likes it. But that's why it's happening.

    Relevant section quoted for the lazy:

    User specific configuration files for applications are stored in the user's home directory in a file that starts with the '.' character (a "dot file"). If an application needs to create more than one dot file then they should be placed in a subdirectory with a name starting with a '.' character, (a "dot directory"). In this case the configuration files should not start with the '.' character.

  • source
  • hideshow 2 child comments
  • [–] 17 points 2 years ago* (1 child)

    i understand the linux side of the joke but can someone explain what this meme format means? /gen

    is this pizza guy known for chucking pizzas?

  • source
  • hideshow 2 child comments
  • [+] 8 points 2 years ago (3 children)
  • [–] 24 points 2 years ago (2 children)

    One particular pain for me in VSCode is that it puts a .vscode folder in my repo, which I have to specifically exclude from git every single time. I can't expect other users of the repo to use vscode, let alone my settings synced to git. In firefox, it sometimes gets tricky finding the profile folder, as it changes across distros. Similarly, I always find it difficult searching for service files (there are at least 4 folders that I now know of). All of this searching around and doing little things used to be irritating - though you get used to it, and figure out shortcuts. TBH - windows has some of this too - I had to customise a bunch of stuff on first boot.

    No clue about Nvidia - I hear they make something called GPUs but I have not been able to afford any, so can't say I relate.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 18 points 2 years ago

    One particular pain for me in VSCode is that it puts a .vscode folder in my repo, which I have to specifically exclude from git every single time.

    That's pretty standard behavior for IDEs. Like Jetbrains IDEs store their config in a .idea folder in the root of the workspace, Visual Studio has a config directory in the root of the workspace, xcode probably does the same thing... It's standard practice, and a simple thing to account for - as you said, just add it to your .gitignore and you're golden. That allows people to use whatever IDE they want and configure it however they like.

  • source
  • parent
  • Set your config directory to be your home directory and outplay those apps

  • source
  • load more comments
    view more: next β€Ί