Hi, I'm a RaySession user working with PipeWire. I noticed that RaySession doesn't restore PipeWire/JACK connections when a session is loaded.
I created a new session template called "with PipeWire" that automatically saves and restores connections using pw-link. It works by hooking into the existing save.sh and load.sh scripts:
- save.sh — when the session is saved, it reads all active connections with
pw-link -l and saves them to connections.sh in the session folder
- load.sh — when the session is loaded, it disconnects all existing connections and restores the saved ones, with a retry mechanism for ports that are slow to initialize
This required adding with_pipewire to FACTORY_SESSION_TEMPLATES in ray.py and a corresponding entry in child_dialogs.py.
Would you be interested in a PR for this?
Hi, I'm a RaySession user working with PipeWire. I noticed that RaySession doesn't restore PipeWire/JACK connections when a session is loaded.
I created a new session template called "with PipeWire" that automatically saves and restores connections using pw-link. It works by hooking into the existing save.sh and load.sh scripts:
pw-link -land saves them toconnections.shin the session folderThis required adding with_pipewire to
FACTORY_SESSION_TEMPLATESinray.pyand a corresponding entry inchild_dialogs.py.Would you be interested in a PR for this?