elementary / os-patches

Patched packages for elementary OS and the tools that keep them up-to-date
GNU General Public License v3.0
18 stars 11 forks source link

Desktop folder present in home dir on fresh install #203

Open pongloongyeat opened 3 years ago

pongloongyeat commented 3 years ago

What Happened

image

Expected Behavior

Since elementary does not support desktops, there shouldn't be a Desktop folder.

Steps to Reproduce

  1. Setup user account
  2. Go to home dir

Platform Information

Tested with eOS6 daily, self-built 2021-01-24

cassidyjames commented 3 years ago

Do you have Firefox installed?

pongloongyeat commented 3 years ago

@cassidyjames I don't. This is a completely fresh install. Nothing new installed.

cassidyjames commented 3 years ago

Ha, I keep forgetting about this because I hide it with my personal .dotfiles. :sweat_smile: But I can confirm we're getting a Desktop folder on OS 6 stable. I might be wrong/misremembering, but I think in the past we may have fixed this by setting the xdg "desktop" folder to ~/?

ryonakano commented 3 months ago

Maybe we need to patch xdg-user-dirs and xdg-user-dirs-gtk if we want to hide the unused Desktop directory? It looks like we used to provide a patch when OS 0.4.x and 5.x, but has not provided since 6.x:

https://github.com/elementary/os-patches/commit/e3c2c7a68dac8f653e234623888309a49b478d09

https://github.com/elementary/os-patches/commit/92b9d757c2867f30e66e8b2ecb0cc9a2b917a540