Monday, May 20, 2024
153
rated 0 times [  153] [ 0]  / answers: 1 / hits: 51435  / 1 Year ago, sat, december 31, 2022, 7:46:45

I'm not particularly fond of apps cluttering my $HOME directory with their own files or directories. It's rarely a problem, because most apps have the courtesy to hide their data by prefixing it with a dot or conforming to the ~/.config standard. But not snap.



Q1: Have I misunderstood this directory? Is ~/snap really a directory which I'm supposed to enter and access on a daily basis on a par with ~/downloads, ~/pictures, ~/work, etc?



Q2: In any case: Can I move it e.g. ~/.snap? I can't find anything like /etc/snap, /etc/default/snap, or ~/.config/snap to tweak things. I tried export SNAP_USER_DATA=$HOME/.snap but it didn't work.


More From » configuration

 Answers
2

So..



A1: No; ~/snap is not supposed to be accessed manually on a daily basis; it's a settings directory.



A2: No; ~/snap cannot be changed; it's cluttering your home dir by design.



However
there is already a bug report on this issue, but it's currently only prioritized as wishlist. If you're affected by this bug (and you are if you have a ~/snap =) then let the kind developers know, and encourage them to fix the bug by raising its significance:




  1. Go to the bug report

  2. Login to Launchpad (top right corner).

  3. Click This bug affects N people. Does this bug affect you? (near top left)

  4. Click Yes, this bug affects me



In the meantime do like @Rinzwind suggests and simply hide the directory from Nautilus by typing this in a shell:



echo snap >> ~/.hidden


Alternative get completely rid of snap by downright uninstalling everything related snap, as described here.


[#12176] Sunday, January 1, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
strhen

Total Points: 27
Total Questions: 111
Total Answers: 103

Location: Angola
Member since Tue, Apr 25, 2023
1 Year ago
;