• @daggermoon
    link
    19 hours ago

    I just throw lots of dumb shit in my home directory. I actually have the Windows Entertainment Pack for Windows 3.1 in a folder in there. Runs great in WINE. Home directory is great for storing random files.

  • Xylight
    link
    fedilink
    171 day ago

    Use xdg-ninja to help clear out unwanted files not in your home folder, and give tips to move them into a normal folder like .config

  • @[email protected]
    link
    fedilink
    112
    edit-2
    1 day ago

    but please don’t hard-code ~/.config or $HOME/.config. Use the XDG_CONFIG_HOME environment variable, with $HOME/.config as a fallback if it’s not set.

    Many programming languages have a cross-platform implementation of this built in to their standard library. C# has Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) which uses XDG_CONFIG_HOME on Linux, local AppData on Windows, and whatever is the correct thing on MacOS (not very familiar with how things work on MacOS)

      • @dx1
        link
        23
        edit-2
        1 day ago

        Even better, ~/.local/share/

  • Natanox
    link
    fedilink
    English
    712 days ago

    XDG? OpenDesktop? Dunno what that is, time to dump everything into ~/.myawesomeapp

        • Lucy :3
          link
          fedilink
          21 day ago

          Of course. Everything else is hosted on other’s servers, and here I have the choice between dozens of storages, mainly selfhosted ones. The only exception being KeePassXC - but that’s what rclone/rsync are for. So the DB resides on a WebDAV share on my Nextcloud now.

          • DefederateLemmyMl
            link
            fedilink
            41 day ago

            Everything else is hosted on other’s servers

            You can self-host bitwarden with vaultwarden.

      • @[email protected]
        link
        fedilink
        41 day ago

        Hey! Would you mind guiding me as to what is going on in this picture? Is this an APP that allowed to SSH into your server? You got my attention with this picture, and I’m curious to hear more.

        • Lucy :3
          link
          fedilink
          71 day ago

          It’s Termux, basically a fully fletched terminal for Android. So you can install various tools via apt, and use them, for example yt-dlp, ffmpeg, gcc, python etc. And yes, you can also use SSH, both as server and client. I use it very often to connect to my servers on the go.

          You can even use chroot to basically run a distro of your choice.

      • @dx1
        link
        2
        edit-2
        1 day ago

        deleted by creator

    • @[email protected]
      link
      fedilink
      35
      edit-2
      2 days ago

      Nah just put it in ~/.thing-config.d/01-0x45- 110100100-main.options-extra2cache.swp along with three godzillion other files like it’s normal and very sane for users who edit such files to have the big picture of the default configuration dreamed up by some utterly deranged lunatic be spread across enough files to represent all known stars in the galaxy, standards are for losers amirite /s

  • @kautau
    link
    222 days ago

    I’ve been forcing myself to learn to use NixOS with home-manager just to avoid this. Not to worry, it’s just my home.nix that’s a dumpster fire now

    • @[email protected]
      link
      fedilink
      English
      51 day ago

      I’ve been using Nix for a little more than a year, I don’t think I’ve touched my configs in better than 6 months. I’m honestly not entirely certain what would constitute a dumpster fire in a Nix config

      I’ve probably only modified 50 or 60 lines of the default configs.

      I do have a folder full of shell.nix files when I need to do a special workflow, like I have one that kicks up wine and sets up mp3tag, another that sets up rust, another sets up Python, and one that sets up for yt-dlp. But I don’t carry anything in my base configs that I don’t use in a given week

  • Jeena
    link
    fedilink
    English
    362 days ago

    It really depends for what. I don’t think nginx config should be in $HOME/.conf/

      • @UndulyUnruly
        link
        492 days ago

        Everything into ~/Downloads/ until the partition is full.

        • @ikidd
          link
          English
          -11 day ago

          First thing I do on a new install is purge the home folder of every default folder, and symlink Downloads to another partition.

          Whoever standardized that shit in there like Templates needs to be shot with a ball of their own feces.

    • Max-P
      link
      fedilink
      24
      edit-2
      2 days ago

      Unless it’s running as your own user as part of your session. /etc for system-wide and ~/.config for your own user makes a lot of sense.

    • @[email protected]
      link
      fedilink
      English
      21 day ago

      I think this picture would be an upgrade from my current situation. It is perfectly normal to have to use sudo find from root to locate anything, isn’t it? It’s especially fun when you don’t remember what the thing you are looking for is called and are trying to guess the name to find.