this post was submitted on 18 May 2024
47 points (84.1% liked)

Linux Gaming

15892 readers
9 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

I just found this cool utility a couple days ago and have found that it's a great solution to sandboxed versions of Discord being unable to provide rich presence. It's a Python script that queries the Steam web API to get info to forward to Discord's API. The "installer" sets up a systemd service that will auto-run the script for you.

It requires you to get your own Steam API key which was a trivial, though slightly buggy, process for me. You can optionally use your own Discord app ID, or just use the one owned by the guy that created this script.

all 19 comments
sorted by: hot top controversial new old
[–] PoorPocketsMcNewHold@lemmy.ml 7 points 6 months ago (1 children)

Strongly recommend it. It even automatically fetches icons for the games via SteamGridDB (Even if they could totally just fetch it from Steam). Ain't really a fix for games using Proton, however, or making sandboxed Discord versions to get those local RPC implementation, just an alternative and more efficient way to show what you play on Steam.

[–] d3Xt3r 4 points 6 months ago (1 children)

Ain't really a fix for games using Proton

Wdym? It works fine for Proton games as well.

[–] PoorPocketsMcNewHold@lemmy.ml 2 points 6 months ago

It doesn't make use of the games original Discord RPC integrations, and their more-in-depth game details that it can bring. See https://github.com/ValveSoftware/Proton/wiki/Enabling-Discord-Rich-Presence or https://github.com/EnderIce2/rpc-bridge for ways to fix it.

[–] hand@lemmy.studio 3 points 6 months ago

Looks neat!