-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
How to support /var/run/spnav.sock ? #3541
Comments
The Flatpak sandbox has its own You will have to ask the developers of spacenavd/libspnav to make that path configurable. |
It is actually possible to export stuff from /var using |
Just to clarify. In theory it is possible, but under the current implementation of Flatpak it is not possible? |
It seems like asking users to reconfigure the location of /var/run/spnav.sock is going to break the model of flatpak in general. They'll need root and some configuration chops which ... hopefully flatpak users don't need. It would seem like adding a spnav socket to the flatpak configuration would be better overall.
These space navigator devices are very unknown for most people but very well known among 3d professionals working in 3d/CAD environments (they are magic once you discover them). These folks would seem like a primary target for installing Blender or Freecad via flatpak. |
@eszlari You would also need to ask Blender developers to make the socket reconfigurable, because last time I checked the socket was hard coded into Blender source code. I am starting to think the best is to solve this in Flatpak, and make the socket a «well-known» Flatpak socket. |
The flathub apps - Blender need this socket support. https://3dconnexion.com/uk/supported-software/?fwp_supported_software_operating_system=linux Is a list of 13 mostly commercial large cad systems that might interested in flatpaks in the future. @alexlarsson is adding a well known socket to flatpak an acceptable path forward? ie
providing -
tldr; Reconfiguring the daemon at the distribution requires root and I believe several of the apps would recompiling to support a different scheme from flatpak. |
it seems to be now configurable in libspnav https://github.com/FreeSpacenav/libspnav/releases/tag/v0.3 what is needed to make the flatpaks work? |
It's a simple matter of passing through the socket from |
I think we have a solution now, which is proven to work for multiple apps - Blender and FreeCAD - as documented in this issue flathub/org.blender.Blender#18 I therefore close this issue now :) Thank you for all contributions 👍 |
Linux distribution and version
PopOS 19.10 + Gnome 3.34 on Wayland
Flatpak version
1.4.3
Description of the problem
Hi, I have a SpaceNavigator "3D-mouse". This device is supported by Blender running outside Flatpak. Blender uses an open source driver, spacenavd (daemon) + libspnav (client library), which communicates over a unix socket
/var/run/spnav.sock
. This socket is not one of the "well-known" sockets. How do I expose the socket to flathub/org.blender.Blender?References
The problem is discussed further in this issue flathub/org.blender.Blender#18
There is also an open PR (with no working solution) @ flathub/org.blender.Blender#19
The text was updated successfully, but these errors were encountered: