Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spacemouse not working on snap build #1323

Open
doucettom opened this issue Dec 6, 2023 · 1 comment
Open

Spacemouse not working on snap build #1323

doucettom opened this issue Dec 6, 2023 · 1 comment

Comments

@doucettom
Copy link

Same exact issue on the vanilla FreeCAD:

FreeCAD/FreeCAD-snap#61

The solution in the issue didn't work.

@lbattraw
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants