Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

SaltyIceteaMaker ,
@SaltyIceteaMaker@iusearchlinux.fyi avatar

Set your config directory to be your home directory and outplay those apps

pathief ,
@pathief@lemmy.world avatar

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

SaltyIceteaMaker ,
@SaltyIceteaMaker@iusearchlinux.fyi avatar

I literally can't find a single plasma config file that i'd need to edit...

jeremyparker ,

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.

zephr_c ,
@zephr_c@lemm.ee avatar

You know everything on that site was written in 2004 or earlier, right? That hasn't been the relevant spec for a long, long time now. We use xdg for that now. Configs go in xdg_config_home.

LarmyOfLone ,

Can't we have both? Like some go there, and others go to the other place?

zephr_c ,
@zephr_c@lemm.ee avatar

We do have both. That's the whole complaint. There are still major applications using the decades obsolete standard. It was changed because it leaves your home directory a cluttered, useless mess. Also, if you really want your dotfiles in your home directory you can just set your xdg_config_home to your home directory instead of its default of .config.

LarmyOfLone ,

I'm sorry I was being sarcastic :D

zephr_c ,
@zephr_c@lemm.ee avatar

Ah. That makes sense. Sorry.

MonkderZweite ,

Don't forget Flatpak.

spujb ,

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?

Classy ,

They probably just found an image of a pizza delivery guy and fitted it for the meme. I am not aware of any memes of pizza throwers other than Walter White

spujb ,

i am the one who yeets

thegreatgarbo ,

I'm waiting for rule 34ification of this post.

ironeagl ,

bonk go to horny jail

unhinge ,

Meanwhile kde scattering everything in .config/

Image

Shameless ,

[Thread, post or comment was deleted by the author]

  • Loading...
  • pistapopper ,

    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.

    zalgotext ,

    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.

    Trollception ,

    Interesting. The default gitignore in Windows at least for both vscode and visual studio exclude those directories along with obj, bin, etc and a bunch of other non code files.

    callyral ,
    @callyral@pawb.social avatar

    Exactly that, it's messy and doesn't follow standards, making it harder to find specific files.

    MonkderZweite ,

    No user choice via variable.

    janAkali ,

    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?

    Corngood ,

    You could probably do it with bubblewrap or something equivalent. Here's someone asking about this exact thing:

    https://unix.stackexchange.com/questions/651788/redirect-single-file-or-directory-using-bubblewrap

    MonkderZweite ,

    I do it with Bubblejail for Steam and a symlink to .local/share/Steam for compatibility with tools.

    MonkderZweite ,
    Kalcifer ,
    @Kalcifer@sh.itjust.works avatar

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

    const_void ,

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

    uuhhhhmmmm ,

    Even worse, Thunderbird doesn't save data in ~/.mozilla/thunderbird, but in ~/.thunderbird.

    DangerousInternet ,
    @DangerousInternet@lemmy.world avatar

    [Thread, post or comment was deleted by the author]

  • Loading...
  • glibg10b ,

    One of us needs to go back to school, because I did not understand a word of what you just said

    voidMainVoid ,

    At least Thunderbird configs are stored in ~/.config/.mozilla/thunderbird. Right? Right...?

    5714 , (edited )

    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

    merthyr1831 ,

    who would win?

    dozens of conflicting standards on where to store files over years of poorly enforced linux development practice

    vs

    some symlink bois


    for real tho, I discovered gnu-stow the other day and it looks like the ideal solution for this sorta stuff

    MonkderZweite ,

    vs. user choice via variable.

    anarchy79 ,
    @anarchy79@lemmy.world avatar

    "Am I out of touch?
    No, it is the users who are wrong!"

    Malfeasant ,

    That's how my employer does it...

    parpol ,

    Firefox asks me where to put my files though.

    Railcar8095 ,

    It’s about config files, not downloads

    parpol ,

    I see. My bad.

    backhdlp ,
    @backhdlp@iusearchlinux.fyi avatar

    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/

    victorz ,

    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.

    backhdlp ,
    @backhdlp@iusearchlinux.fyi avatar

    Flatpaks can't just access your home directory.

    Octopus1348 ,
    @Octopus1348@lemy.lol avatar

    If you don't give access to it with Flatseal or in the KDE settings app.

    victorz ,

    Oh yeah that's right

    Samueru , (edited )

    Flatpak itself violates the xdg base dir spec by making ~/.var

    victorz ,

    Oh yeah that's true.

    KrapKake ,

    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.

    Redjard ,
    @Redjard@lemmy.dbzer0.com avatar

    It's there for ancient compatibility reasons and recreated when steam starts, iirc. I've looked a bit into removing it last year but didn't get far

    JDubbleu ,

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

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

    Miaou ,

    A YouTube video over an article? :(

    MonkderZweite ,

    Bubblejail solved that for me.

    massive_bereavement ,
    @massive_bereavement@kbin.social avatar

    Protect your home, use xdg ninja

    PropaGandalf ,
    @PropaGandalf@lemmy.world avatar

    Ninja can't help if the program does not want to cooperate :(

    Samueru ,

    You can use a wrapper script on PATH that launches the app in a fake home wherever you want.

    nymphlode ,
    @nymphlode@pawb.social avatar

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

    Hubi ,

    Most software on Linux is configured to place their config files in ~/.config. Some others, like the ones in the pic, just dump them directly into your home folder.

    neidu2 , (edited )

    $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.

    MimicJar ,

    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)"

    refurbishedrefurbisher ,

    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.

    nymphlode ,
    @nymphlode@pawb.social avatar

    Hahahaha oh man I know exactly what you're talking about too 😭 hate when they do that

    Prunebutt ,

    ... or just imagine all of it being thrown on the Desktop (the bare user directory is rarely visited in Windows)

    funkless_eck ,

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

    nexussapphire ,

    Better, it could be literally anywhere and there's nothing you can do about it. Also symlinks practically look like regular folders and files to most apps.

    victorz ,

    I haven't run into a game that does this 🤷‍♂️

    Fenrisulfir ,

    There’s no game related dirs in your My Documents dir? Most don’t even use My Games they just dump directly into My Documents. I guarantee most game devs don’t understand the difference between local and roaming either. They just put shit randomly wherever they want

    victorz ,

    Oh, on Windows, sure. Not on Linux though.

    Fenrisulfir ,

    Linux is just as bad. You actually got anything in $XDG_CONFIG_HOME or is your /home just a dot file dumping ground?

    victorz ,

    lol, this almost reads as a personal attack.

    I have almost nothing in my home directory, no. Been applying this to clean it up even further. I want my chezmoi dotfiles repo to be clean. Especially not games' files since I run Steam through flatpak. It does put things in ~/.var but at least it's collected to one point.

    Not really a problem of "Linux" or "Windows", but more of "developers".

    Fenrisulfir ,

    Sorry. Definitely not meant as one lol

    That last line is 100% true

    victorz ,

    😊🤝

    MonkderZweite ,

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

    SaltyIceteaMaker ,
    @SaltyIceteaMaker@iusearchlinux.fyi avatar

    So in linux you have an extra directory just for configuration files/directories wich often start with a . (Dot) (that's why they are calld dot files). But some applications dont use that directory but rather just dump them into your user directory, wich causes it to get cluttered with files wich should be put into the ".config" directory

    QuazarOmega ,

    Pain

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • linuxmemes@lemmy.world
  • incremental_games
  • meta
  • All magazines