-
- Downloads
wrap-discord: Bind Discord RPC sockets
Discord provides a mechanism called "Rich Presence" that allows games to
synchronize their state with Discord, e.g. showing status information in
the user's profile.
To make this work from inside a Pressure vessel container, we need to
bind-mount the Discord IPC sockets.
They are expected to be called `discord-ipc-`, followed by a number that
ranges from zero up to nine.
They are usually located under `XDG_RUNTIME_DIR`, with `TMPDIR`, `TMP`,
`TEMP` and `/tmp` used as fallback alternatives.
Example games that are known to be using the Discord sockets are:
VRChat, Among Us and osu!
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
parent
6158453a
No related branches found
No related tags found
Showing
- pressure-vessel/meson.build 2 additions, 0 deletionspressure-vessel/meson.build
- pressure-vessel/wrap-discord.c 85 additions, 0 deletionspressure-vessel/wrap-discord.c
- pressure-vessel/wrap-discord.h 34 additions, 0 deletionspressure-vessel/wrap-discord.h
- pressure-vessel/wrap-setup.c 1 addition, 0 deletionspressure-vessel/wrap-setup.c
- pressure-vessel/wrap-setup.h 1 addition, 0 deletionspressure-vessel/wrap-setup.h
pressure-vessel/wrap-discord.c
0 → 100644
pressure-vessel/wrap-discord.h
0 → 100644
Please register or sign in to comment