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

  • Dr. Moose@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    1
    ·
    6 days ago

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

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

        Yeah I know and KDE ans Gnome both have settings for this but as I used to setup a lot of machines it was always frustrating that the default is uppercase and some idiots don’t actually read the XDG preferences and have default uppercase directories hard coded

        • MonkderVierte@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          5 days ago

          Yup, and everythjng done twice or even trice. I’m a sucker for efficiency who had some time on hand then, so i have my own environmemt setup and XFCE runner now, with clearly separated do xorg-stuff in X, XFCE stuff in XFCE, etc.

      • ArcaneSlime@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        8
        ·
        6 days ago

        Yes, that is the reason to make them lowercase, so I don’t have to shift when using the terminal to access my most used directories.

  • graynk@discuss.tchncs.de
    link
    fedilink
    arrow-up
    21
    ·
    7 days ago

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

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    6 days ago

    The article should also mention the new XDG variable itself, please.

    And also, the XDG people should’ve thought of a more flexible way, that allows unlimited custom icon-directory associations. Now, we have some file managers, that do it their own way, most don’t allow custom directory icons.

  • AnimalsDream@slrpnk.net
    link
    fedilink
    English
    arrow-up
    7
    ·
    6 days ago

    I already make my own Projects folder. Does this mean programs are going to start being tuned to make changes to it? Leave my adhd folder alone plz.

  • loiakdsf@discuss.tchncs.de
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    7 days 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?

    • daeraxa@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      6 days ago

      Ugh yeah this is a real point of annoyance for me, we have the XDG basedir spec for a reason but everything just ignores it. I’d settle for even the config part, let alone state, data dirs and the rest. Just throw it all in home

  • ApertureUA@lemmy.today
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    6 days 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.

  • jcr@jlai.lu
    link
    fedilink
    Français
    arrow-up
    5
    ·
    edit-2
    6 days 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 !

    • curbstickle@anarchist.nexus
      link
      fedilink
      English
      arrow-up
      51
      ·
      8 days ago

      I made SO MANY directories under home that could have just been ~/Projects that I’m annoyed with myself for not doing something so simple.

      … I’ll be using the projects directory heavily going forward

      • andyburke@fedia.io
        link
        fedilink
        arrow-up
        16
        ·
        8 days ago

        As someone who has used ~/Projects for years and has syncing and other setup around it I am (very slightly) terrified this change could somehow fuck with me.

        Please let this just be a mkdir call that will fail.

        • dreamy@quokk.au
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 days ago

          I’m on Artix Linux and it did automatically create it after an update.

          It likely just runs xdg-user-dirs-update which, in my experience, doesn’t delete anything if the folder is already there (the command just changed the folder icon in the file manager when I used to run it on a WM).

        • hallettj@leminal.space
          link
          fedilink
          English
          arrow-up
          10
          ·
          8 days ago

          I also use a Projects folder. It looks like it probably won’t break anything. Apps might start putting stuff there by default, hopefully in sensible subdirectories. There’s a note in the article that you can create ~/.config/user-dirs.dirs to specify where you want files to go.

        • curbstickle@anarchist.nexus
          link
          fedilink
          English
          arrow-up
          6
          ·
          8 days ago

          Nope. Only makes for new installs, and only uses it as a save spot default if the application asks for it. Should be no change at all.

            • curbstickle@anarchist.nexus
              link
              fedilink
              English
              arrow-up
              5
              ·
              7 days ago

              When I read it originally (a bit back, maybe a week or two ago) it was new installs that was noted, though new users would make sense.

              I guess I’ll find out soon enough on a test box.

    • naught101@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      8 days ago

      This is the way. Everything I created in folder in Documents. Everything I downloaded in downloads. Home should be otherwise empty, except for all the left-over dot-folders that old software leaves lying around.

  • promitheas@programming.dev
    link
    fedilink
    arrow-up
    53
    arrow-down
    1
    ·
    8 days ago

    Everyone complaining, and here I am not having noticed the change because I’ve created that directory for myself years ago :-P

    Personally its for organisation

      • promitheas@programming.dev
        link
        fedilink
        arrow-up
        18
        ·
        edit-2
        7 days ago

        All my projects, which to be fair are mostly programming.

        ~/Documents/Projects doesn’t make sense to me because theyre not strictly documents. In documents i have - well, documents like bill receipts, forms ive filled in, etc…

        My projects are a first-order thing for me if that makes sense, so it makes sense to have them in the top-level of my home.

        • naught101@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          7 days ago

          Right, for me “documents” is just “personal files”. I used to have it called that, but then I just had and empty dir sitting there unused…

          I don’t like putting things in home because then files get mixed up with config and cache and crap, and it’s more annoying to search

    • ikidd@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      8 days ago

      Luckily I created mine as projects so I don’t have to worry about it writing a bunch of shit into my actual projects folder, or having to fix the xdg setting to disable it.