Spacemouse not working on snap build
Opened this issue · 1 comments
doucettom commented
Same exact issue on the vanilla FreeCAD:
The solution in the issue didn't work.
lbattraw commented
Just adding that under Ubuntu 22.04 this can be fixed by adding the following line to
/var/lib/snapd/apparmor/profiles/snap.freecad-realthunder.freecad-realthunder
unix (connect, send, receive) peer=(addr="@/var/run/spnav.sock"),
I added it at the end of the file (Before the closing brace line). Initially I messed up the syntax, which I was able to find out by running:
sudo systemctl restart snapd.apparmor.service
If there are any issues with the way you added it, the service will fail to start and you can look at the errors with:
sudo journalctl -xeu snapd.apparmor.service