Feature to block specific processes from showing discord RPC
Most games and applications implement discord RPC quite well but i do find a few such as lutris for example that have a terrible implementation of it, and it keeps your status as "playing lutris" for basically as long as the process is running even if you aren't in-game.
It'd be nice to be able to specifically block off processes from showing RPC, currently the only thing i can do is either:
1. Hope that the game/application is open source, so i can then find any discord rpc function calls and change the code, then recompile, and do that everytime there is a new update for that specific game/application (mind you this is assuming best case scenario if the software is open source)
2. Blanket disable RPC entirely so i can't even use the function at all which isn't even really a solution to be honest.
-
Actually Lutris doesn't do Discord presence by default; you literally have to manually install a separate package to even enable support for it. I opened an issue on their GitHub last week for exactly this, and it was closed with a note saying it's Discord detecting a process running out of /usr/games/ and automatically updating the presence.
Which makes it DEFINITELY Discord's responsibility to fix this.
Could the Lutris package maintainer move the executable to /usr/bin/ and mitigate what Discord is doing wrong? Probably, but the correct solution is that Discord shouldn't just assume something is a game based on where its executable is located.
Steam could just as easily have been packaged to be run from /usr/games/ and I'd bet this wouldn't be an issue because (1) Steam's install base is much larger, meaning more users would be annoyed by the behavior, and/or (2) someone at Valve would have raised a stink.
1 -
I'm having the same issue with Lutris.
I believe this issue could be fixed if Discord had an option to blacklist "auto detected" games, the same way we can whitelist games not detected automatically.
1 -
Having the same issue with lowkey.gg and other tools running in the background.
Would really help out to be able to specifiy which RPC I want to show.
0 -
Quick solution for Linux and Lutris:
cd /usr/bin
sudo ln -s /usr/games/lutrisReboot your system (not really necessary but just to make things easier to understand)
Done, Lutris will not show in Discord game activity anymore.
0 -
That's essentially what I've done to mitigate the problem, although a more "proper" place for that symlink is in /usr/local/bin/ rather than /usr/bin/.
It's also a mitigation specific to Lutris, not a solution to the problem, which is that Discord will sometimes assume a program is a game based on the location of its executable.
You're also correct that there is no reason to reboot. Get that "reboot to apply changes" Windows mentality out of here.
0
Please sign in to leave a comment.
Comments
5 comments