Snapd plug for discord rich presence

Similar to pulseaudio slot, snaps that want to connect with discord via the discord-rich-presence, it needs to have write access to the unix socket that is exposed by discord. For discord snap, the rpc socket path is

/run/user/xxxx/snap.discord/discord-rpc-X

or may be in the $XDG_RUNTIME_DIR, and this file needs to be allowed with write access. So, a new plug I think would be the best for this. More discussions here

2 Likes