Repository navigation
Replies: 2 comments
Thank you!
Hmm, looks like a good idea. I will have to test myself when I got more free time and maybe automate it? |
|
@enderice2 Feel free to use the project for anything you want, or even just tell people to install it if you detect that the Flatpak RPC socket is missing. It requires But you could write a host-script that clones the repo and runs discord-flatpak-rpc-bridge is however 100% complete and won't need any changes, so what you see there is the finished project. Systemd sets up a listening socket at the Flatpak RPC path, then as soon as a Flatpak tries to use the Discord RPC socket, systemd launches the proxy service and gives ownership of the listening socket to the proxy process, bridging the Flatpak socket to the real native Discord RPC socket. I wrote it in a way that people just Flatpaks will not need any changes to their manifest/permissions. They just have to be configured by the Flatpak author to use the standardized |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey, absolutely awesome project! I love how you've created a service that runs in the background and bridges the Windows pipe to the UNIX pipe. :)
On that note, the entire section about Flatpak apps is using a deeply broken, unfixable method of linking to the host socket.
Here are the resources that describe the best way of linking between native Discord clients and your Flatpak games:
Installing that bridge is all you have to do. The Flatpak apps (such as Heroic, Steam, Lutris) must of course also be correctly configured to use the RPC sockets, as described here, but that's a job for the Flatpak app maintainers.
All reactions