[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2022-04-10 Thread Kevin Dong
For someone who is still struggling with this, https://forum.snapcraft.io/t/experimental-flag-for-hiding-snap/28509 may help. It seems that sudo snap set system experimental.hidden-snap-folder=true works and puts data in ~/.snap/data, but snap still creates an empty ~/snap on app startups. --

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2020-08-27 Thread Kevin Dong
For whom does not care about multi users and backward compatibility, this is actually quite straightforward to change the snap directory from '$HOME/snap' to '$HOME/.snap'. Change the hard-coded path and the apparmor rule is fairly enough for release 2.46: diff --git

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2020-08-27 Thread Kevin Dong
For whom does not care about multi users and backward compatibility, this is actually quite straightforward to change the snap directory from '$HOME/snap' to '$HOME/.snap'. Changing the hard-coded path and the AppArmor rule is fairly enough for release 2.46: diff --git a/dirs/dirs.go

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2020-08-27 Thread Kevin Dong
For whom does not care about multi users and backward compatibility, this is actually quite straightforward to change the snap directory from '$HOME/snap' to '$HOME/.snap'. Change the hard-coded path and the apparmor rule is fairly enough for release 2.46: diff --git