If you are using a rolling release distro like Arch, you might have noticed that your home directory now has a new member, a new folder called “Projects”.

For as long as I remember, Linux has always had a set of default folders under the home directory. Usually they are Documents, Music, Pictures, Videos and Downloads. Templates, Desktop and Public folders are also there.

Now we have a new addition in the form of “Projects”.

  • ApertureUA@lemmy.today
    link
    fedilink
    English
    arrow-up
    2
    ·
    55 minutes ago

    Idk, XDG is weird.
    “Music”, “Documents”, “Downloads”, “Public” and “Templates” are in Ukrainian;
    “Public” and “Downloads” are duplicated in English;
    “Desktop” is just English;
    “Images” is in Russian for me for some reason.

    No Projects despite me updating recently, I guess it just gave up.

  • Dr. Moose@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 hours ago

    Now make all of default XDG directories lowercase. Nothing else is capitalized in the file system - why do these directories get an exception?

  • jcr@jlai.lu
    link
    fedilink
    Français
    arrow-up
    2
    ·
    5 hours ago

    Even if I am against this kind of “defaults”, today I learned how you customize this for any folder in the home directory !

    For linux based system, you do like told in https://www.freedesktop.org/wiki/Software/xdg-user-dirs/

    ~/.config/user-dirs.dirs specifies the current set of directories for the user. This file can also be modified by users (manually or via applications) to change the directories used. Note: To disable a directory, point it to the homedir. If you delete it it will be recreated on the next login.

    So at last I disabled Music, Templates, Pictures and Videos . Cleaner Home !

  • graynk@discuss.tchncs.de
    link
    fedilink
    arrow-up
    15
    ·
    16 hours ago

    Ahh, I was wondering why there’s a Projects next to my projects, I thought I just made a typo at some point

  • loiakdsf@discuss.tchncs.de
    link
    fedilink
    arrow-up
    12
    ·
    18 hours ago

    how about first getting programs to put dotfiles into the .config folder (opposed to .programname) instead of adding more folders that are inconsistent over distros for multiple years before the point of a default for IDEs and CAD programs can even be meaningfully made?

  • sp3ctr4l@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    20
    ·
    22 hours ago

    Hah, thats funny, I… literally have a ‘Projects’ folder, though I’m running Bazzite.

    hoists suspenders

    Yep, made that folder on my own, gets the job done, mhrm.

    … lol

    (pleasedonotlookinsidetheProjectsfolderdeargoditissuchamess)

  • thedeadwalking4242@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    23 hours ago

    Honestly I say just let the user decide what goes in their home directory. I always get annoyed at all the random garbage in there. There should be a specific place that is user owned that isn’t filled with cruft and configuration files

    • TheV2@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      12 hours ago

      The user does decide, XDG user directories are optional and configurable. Since they are already established, user-friendly distros / desktop environments already pre-install them.

      And what speaks against just using a new directory within your home directory as your “specific place that is user owned that isn’t filed with cruft and configuration files”?

    • RamenJunkie@midwest.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      22 hours ago

      Yeah, I have essentially never used these folders unless a program sticks something there by default (mostly pictures).

        • SkaveRat@discuss.tchncs.de
          link
          fedilink
          arrow-up
          2
          ·
          10 hours ago

          A thing I started doing years ago, to combat trashing to ~/Desktop or ~/Downloads:

          Set /tmp as your default download directory.

          At least for me, almost everything I download is just ephemeral and would collect dust

          Putting it there causes it to be cleaned up on the next reboot. No more piles of junk on the desktop (the virtual one at least. Don’t ask about my physical desktop)

          • Sneezycat@sopuli.xyz
            link
            fedilink
            arrow-up
            1
            ·
            16 minutes ago

            That’s a good idea until you download a 10GB file and you wonder why you’re out of RAM :P

            I use /tmp as a temp folder for yt-dlp (it is faster than an HDD when adding metadata and subs to the video), and I’ve ran out of RAM before by downloading a video too big… Silly me, my laptop only has 8GB.

      • EddoWagt@feddit.nl
        link
        fedilink
        arrow-up
        1
        ·
        17 hours ago

        I relocated the default folders that are useful to another drive, I pretty much don’t use the home folder at all apart from some random github pulls or some shit

  • Caveman@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    1 day ago

    It’s pretty much the first folder I add on a fresh install, gotta keep that shit contained

  • baronofclubs@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    1 day ago

    Honestly I don’t mind this at all.

    When I start a Godot projects, putting the project into Documents makes very little sense to me.