Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord Rich Presence doesn't work with the Snap images #25

Closed
Almighty-Alpaca opened this issue Apr 27, 2018 · 12 comments
Closed

Discord Rich Presence doesn't work with the Snap images #25

Almighty-Alpaca opened this issue Apr 27, 2018 · 12 comments

Comments

@Almighty-Alpaca
Copy link

Almighty-Alpaca commented Apr 27, 2018

When trying to use any Discord RPC enabled application together with the Snap images of Discord the rich presence doesn't show up. As soon as you switch to the Debian package provided by Discord on their website everything works as expected.

Tested on Ubuntu 18.04 LTS with Discord Snap Version 0.0.4

@iMaxopoly
Copy link

Can verify this issue a month after it was originally posted. Regards.

@Fuseteam
Copy link

Fuseteam commented May 27, 2018

seems related to #2 and #23

@nfaltermeier
Copy link

This seems to still be a problem. Could this get looked into?

@Fuseteam
Copy link

@Blackop778 check the linked issues might offer some workaround for you
most notable the system-observe connection

@Fuseteam
Copy link

seems to work with the system-observe connection
@Blackop778 @Almighty-Alpaca @iMaxopoly can you guys try running sudo snap connect discord:system-observe to see if it resolves the issue?

@popey
Copy link
Contributor

popey commented Nov 3, 2020

I've tested with system-observe enabled, and this does indeed work.

@Feichtmeier
Copy link

It works for spotify snap <-> discord snap
But it does not work for code snap <-> discord snap
Maybe there is something more needed for classic snaps?

@Feichtmeier
Copy link

Feichtmeier commented Jun 4, 2022

Tested also with intellij and android-studio - discord rich presence does really not work with vscode, and those two apps (works for spotify though, maybe because spotify is not classic?). Would be great if this could be somehow fixed and I think this issue needs to be re-opened
CC @kenvandine

@Feichtmeier
Copy link

Sorry for the poke, but this issue is sadly still remaining. While the rich presence of other confined snaps like spotify can be seen in the discord snap, the connection to the vscode and intellij snaps rich presence is still not working. I would thus vote to re-open this issue

@kenvandine kenvandine reopened this Sep 1, 2022
@lucyllewy
Copy link
Member

lucyllewy commented Sep 1, 2022

Per discord/discord-rpc the IPC uses a UNIX socket in $XDG_RUNTIME_DIR which is unique to each statically confined snap - The reason that snaps in classic confinement work is because they use your normal $XDG_RUNTIME_DIR, or are maybe using a different method to that library entirely(?):

@Feichtmeier
Copy link

Feichtmeier commented Aug 7, 2023

Noticed today that the discord snap rich presence now works with this extension! 🥳
https://marketplace.visualstudio.com/items?itemName=LeonardSSH.vscord
So I guess it must depend on how it is implented and from the snap side it seems to work I guess 🤷
I don't know if this actually can help you with your intellij presence extension @Almighty-Alpaca

@merlijn-sebrechts
Copy link
Member

Thanks for reporting this, everyone!

Closing this issue again, as it seems to be fixed according to @Feichtmeier 's comment. If you find apps where it's not working, please comment and we can reopen this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants