Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. $HOME, Not So Sweet $HOME

$HOME, Not So Sweet $HOME

Scheduled Pinned Locked Moved Linux
linux
19 Posts 15 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • learnbyexample@programming.devL [email protected]
    This post did not contain any content.
    S This user is from outside of this forum
    S This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #10

    auto main() -> int

    What programming language is this even?!

    hiddenlayer555@lemmy.mlH 1 Reply Last reply
    0
    • S [email protected]

      auto main() -> int

      What programming language is this even?!

      hiddenlayer555@lemmy.mlH This user is from outside of this forum
      hiddenlayer555@lemmy.mlH This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #11

      That just seems like int main() with extra steps

      sonotsugipaa@lemmy.dbzer0.comS 1 Reply Last reply
      0
      • hiddenlayer555@lemmy.mlH [email protected]

        That just seems like int main() with extra steps

        sonotsugipaa@lemmy.dbzer0.comS This user is from outside of this forum
        sonotsugipaa@lemmy.dbzer0.comS This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #12

        Defining the return type that way can be used when dealing with template sorcery - there's no use for it here though, not even for readability in any way.

        1 Reply Last reply
        0
        • M [email protected]

          fraid I generated a tl;dr for this rather verbose article:

          "Home directories are a mess because too many apps ignore XDG spec and dump dotfiles everywhere. The problem isn’t just legacy software—new apps do it too, often out of ignorance or laziness. Windows has similar issues with profile folders. Fixing it requires devs to actually follow standards, but many resist due to inertia or 'my way is better' thinking. Users should push back and demand proper XDG compliance to keep $HOME clean."

          M This user is from outside of this forum
          M This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #13

          my favorite bit is how hostile some are after all this time about xdg beyond a simple WONTFIX https://wiki.archlinux.org/title/XDG_Base_Directory#Hardcoded

          1 Reply Last reply
          0
          • learnbyexample@programming.devL [email protected]
            This post did not contain any content.
            J This user is from outside of this forum
            J This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #14

            I wish everything was put into ~/.config or whatever the proper place was. Oh you're used to your ssh config being ~/.ssh as it has for years? So make a symlink! Everyone wins.

            C 1 Reply Last reply
            0
            • learnbyexample@programming.devL [email protected]
              This post did not contain any content.
              sga@lemmings.worldS This user is from outside of this forum
              sga@lemmings.worldS This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #15

              I have recentlly created a data directory in my home dir, and moved almost everything I need to it. Even configs and program data are in it somewhere I find ok, and symlinked to the xdg dirs (I know i can make my new location the xdg dir for config and data, but this way I selectively add stuff to my now main config, so it remains more pristine)

              1 Reply Last reply
              0
              • J [email protected]

                I wish everything was put into ~/.config or whatever the proper place was. Oh you're used to your ssh config being ~/.ssh as it has for years? So make a symlink! Everyone wins.

                C This user is from outside of this forum
                C This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #16

                Monocultures are great every 20 years, but Spock would say 'IDIC'.

                Systemd, networkManager, 'consistent' naming; were it not for bleeding edge vs enterprise, and the packaging differences they bring, you'd only have the logos to discern SuSE from Kubuntu.

                1 Reply Last reply
                0
                • I [email protected]

                  We could do this already with flatpak apps

                  C This user is from outside of this forum
                  C This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #17

                  Not a ringing endorsement. Of anything.

                  1 Reply Last reply
                  0
                  • learnbyexample@programming.devL [email protected]
                    This post did not contain any content.
                    ? Offline
                    ? Offline
                    Guest
                    wrote on last edited by
                    #18

                    Here's the closest thing we have to a solution: xdg-ninja

                    It looks in your home for known files and folders outside of the proper xdg locations and tells you if and how you can move them to their proper place

                    1 Reply Last reply
                    0
                    • learnbyexample@programming.devL [email protected]
                      This post did not contain any content.
                      L This user is from outside of this forum
                      L This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #19

                      I read most of his points and I agree with them...

                      But I have so much else to worry about, I just can't get worked up about this.

                      And I think he is ignoring the firestorm that would ensue if, say, openssh tried to change from using the current directory. There would probably be five forks started immediately to restore the original functionality - and is ssh really adding new features like he claims?

                      Maybe it could be a config option in the site install (which I thought it already was), but forcing a change to fix what is a minor problem isn't worth the headache.

                      I do hate that some of those package systems install software into home. It inflates my backups dramatically and unnecessarily. I use opt for that sort of thing instead. For example, my immich socket install is in /opt.

                      1 Reply Last reply
                      0
                      • System shared this topic on
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups