Skip to content

check flatpak runtime dir first#1168

Closed
0chroma wants to merge 1 commit into
SlimeVR:mainfrom
0chroma:main
Closed

check flatpak runtime dir first#1168
0chroma wants to merge 1 commit into
SlimeVR:mainfrom
0chroma:main

Conversation

@0chroma

@0chroma 0chroma commented Sep 18, 2024

Copy link
Copy Markdown

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: SlimeVR/SlimeVR-OpenVR-Driver#48 and SlimeVR/SlimeVR-Feeder-App#22

@ImUrX

ImUrX commented Oct 30, 2024

Copy link
Copy Markdown
Contributor

currently discussing where stuff should be on SlimeVR/SlimeVR-OpenVR-Driver#48

@0chroma 0chroma closed this Sep 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Enhancement Adds or improves a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants