samuelthomas2774 / nxapi

Nintendo Switch Online/Parental Controls app APIs. Show your Nintendo Switch presence in Discord, get friend notifications on desktop, and download and access SplatNet 2, NookLink, SplatNet 3 and Parental Controls data. Mirror of https://gitlab.fancy.org.uk/samuel/nxapi.git.
GNU Affero General Public License v3.0
427 stars 34 forks source link

Rich presence literally does not work on Linux #69

Closed BFCE closed 1 year ago

BFCE commented 1 year ago

Tried using the appImage version and the deb version, neither actually show rich presence on discord. Another project, NSO-RPC (https://github.com/MCMi460/NSO-RPC), does work without issues, so it appears to be a problem with this project only. It is worth mentioning, that I (like many others) use the flatpak version of discord, and that may be related to the issue.

AAGaming00 commented 1 year ago

probably flatpak issue, rich presence works fine for me on Linux

BFCE commented 1 year ago

probably flatpak issue, rich presence works fine for me on Linux

Probably right, but still needs to be addressed. Other apps are able to work fine with flatpak

BFCE commented 1 year ago

workaround:

mkdir -p ~/.config/user-tmpfiles.d
echo 'L %t/discord-ipc-0 - - - - app/com.discordapp.Discord/discord-ipc-0' > ~/.config/user-tmpfiles.d/discord-rpc.conf
systemctl --user enable --now systemd-tmpfiles-setup.service