$ /snap/bin/mathpix-snipping-tool
cannot locate the core or legacy core snap (current symlink missing?): No such file or directory
$ sudo snap refresh core
snap "core" has no updates available
$ sudo snap list
Name Version Rev Tracking Publisher Notes
core 16-2.35.2 5548 stable canonical✓ core
mathpix-snipping-tool 00.00.0057 19 stable mathpix -
$ sudo snap changes
ID Status Spawn Ready Summary
1 Done today at 13:56 EDT today at 13:57 EDT Install "core" snap
2 Done today at 13:56 EDT today at 13:56 EDT Initialize system state
3 Done today at 13:56 EDT today at 13:56 EDT Initialize device
4 Done today at 13:58 EDT today at 13:59 EDT Install "mathpix-snipping-tool" snap
$ cd /snap/
$ ls
bin/ core/ mathpix-snipping-tool/ README
$ cd core
$ ls
5548/ current@
$ ls -al current
lrwxrwxrwx 1 root root 4 Oct 10 13:57 current -> 5548/
$ sudo ls -ld /{var/lib/snapd/snap},snap}/{core,ubuntu-core}/*
ls: cannot access '/var/lib/snapd/snap}/core/*': No such file or directory
ls: cannot access '/var/lib/snapd/snap}/ubuntu-core/*': No such file or directory
ls: cannot access '/snap/ubuntu-core/*': No such file or directory
drwxr-xr-x 24 root root 333 Sep 21 05:32 /snap/core/5548
lrwxrwxrwx 1 root root 4 Oct 10 13:57 /snap/core/current -> 5548
I installed snapd from the AUR and I enabled the socket and rebooted.
$ snap version
snap 2.35.4-1
snapd 2.35.4-1
series 16
anarchy -
kernel 4.18.12-arch1-1-ARCH