SlimeVR-Server icon indicating copy to clipboard operation
SlimeVR-Server copied to clipboard

check flatpak runtime dir first

Open 0chroma opened this issue 5 months ago • 0 comments

This change would allow SlimeVR to set up sockets on the host while running in a flatpak. In order to do this, we set the socket dir to $XDG_RUNTIME_DIR/app/$FLATPAK_ID if the FLATPAK_ID environment variable is set.

Flatpak's sandbox doesn't allow writes to the runtime root, for more details see: https://docs.flatpak.org/en/latest/sandbox-permissions.html

Related changes: https://github.com/SlimeVR/SlimeVR-OpenVR-Driver/pull/48 and https://github.com/SlimeVR/SlimeVR-Feeder-App/pull/22

0chroma avatar Sep 18 '24 14:09 0chroma