-
Notifications
You must be signed in to change notification settings - Fork 345
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 RPC seems not working on Ubuntu 18.04? #213
Comments
Edit: Oops, nevermind, I thought you had a different issue. Can you possibly share the error log from the plugin, and have you shared this issue with the plugin developer? |
I just want to point out that the plugin works perfectly fine on my Ubuntu 18.04. Make sure that neither intellij or discord are installed through snap (software center). |
^ +1 to the installed through snap comment. They do some sandboxing that messes with our filepath registration stuff. |
I can confirm that my discord-rpc wrapper works flawlessly after we've did some major re-structuring, on UNIX and Win64/86. But macOS is still not functional. The latest version is 1.5.1. @TsundereBug you should update. |
I'm going to close this issue if that's alright. Seems like the answer is here. If you are experiencing a different problem, please feel free to re-open. |
discordjs/RPC#36 says that path to Discord IPC in Ubuntu 18.04 is |
To quote myself:
|
Solution worked for Ubuntu 18.04 For those who want to keep the snaps installed just replace this specific file: PS: Wish i could find something similar for Phpstorm. I don't quite use Vscode :/ |
Experiencing Same Issue! OS- Ubuntu 18.04 LTS |
@ionadev is Discord installed through snap for you? The paths to create socket connections won't work, as it's not checking for the snap directory. |
This commit should hopefully fix issue #54 . Snap (on Ubuntu) will sandbox the Discord client, breaking the pipes (see issue discord/discord-rpc#213 ). This fix will attempt both normal and sandboxed snap connections if running on Linux.
@msciotti Actually I Use Discord Canary, so it wasn't installed from snap, but atom was installed with snap, when i reinstalled atom from their website, the problem was sorted! |
For anybody that it doesn't work for: I got it working, by just uninstalling vscode and installing it back, BEWARE THOUGH, AS IT WILL DELETE ALL YOUR SETTINGS AND EXTENSIONS, IT'S GONNA BE LIKE BEFORE YOU INSTALLED IT AND WENT THROUGH THE COSTUMIZATION PROCESS, VERY ANNOYING.
NOT DISCORD, but Vscode, |
I installed some apps that utilizes Discord RPC.
E.g. JetBrains IDEs Discord Rich Presence Integration
Visual Studio Code Discord Rich Presence Integration
both of them seems fail to work.

The text was updated successfully, but these errors were encountered: