Were there already good reasons why it can't follow XDG, if only via symlinks?
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Or if not, maybe there should be an updated XDG base dir specification
that takes into account the requirements of Snap and Flatpak and other
similar solutions?

Note that Desktop Linux isn't the only one having per-app directories,
on macOS it's in "~/Library/Application Support" (and "Library" is
hidden by default from Finder [file manager], but not in "ls") and on
Windows it's "%HOME%/AppData" (again, hidden by default).

I got my system-installed Chromium package upgraded on 19.10, which
pulled "snapd" back in (after I removed it a few days ago), so just "not
using snap" isn't really an option for now (if on Ubuntu). Of course,
Debian and Fedora provide a snap-less experience by default.

Given that third party vendors seem to prefer Flatpak, the Linux app
updating experience gets more fragmented, from a simple "apt dist-
upgrade" to an apt+flatpak+snap+whatever task.

At least Flatpak stores data in "$HOME/.var/app/" (from a visibility
perspective), but that's still not XDG, so it's still bad.

Also, funny how the Chromium DEB->SNAP transition needed a folder
migration (the blog post https://snapcraft.io/blog/chromium-in-ubuntu-
deb-to-snap-transition says "an existing Chrimium user profile will be
imported [provided there is enough disk space]), this could have been so
much simpler (and not potentially break users' profiles or require more
free disk space than strictly necessary).

Given that there won't be The Single Solution for Linux app packaging,
it would be cool if user data could be shared between Snap/Flatpak/DEB
installations of an app. Then it's really a matter of "your DEB is too
old? grab the Snap or Flatpak!", and not "oh well that's not compatible,
you have to move files around and hope for the best". Also allows for
switching between DEB/Snap/Flatpak seemlessly without "vendor lock-in".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575053

Title:
  Please move the "$HOME/snap" directory to a less obtrusive location

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1575053/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to