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

Extension doesn't work with Discord installed via Snap #66

Closed
D1360-64RC14 opened this issue May 13, 2022 · 0 comments · Fixed by #80
Closed

Extension doesn't work with Discord installed via Snap #66

D1360-64RC14 opened this issue May 13, 2022 · 0 comments · Fixed by #80
Labels
bug Something isn't working

Comments

@D1360-64RC14
Copy link

image

That's a well-known issue described by @iCrawl in his discord-vscode#troubleshooting. But maybe I encountered a workaround to this.

As described in this issue comment (flathub/com.discordapp.Discord#29 (comment)), some programs use the sock file located in /run/user/1000/, but Snap places it in another location (I don't know about Flatpak).

Snap creates a file called snap.<app-name> inside /run/user/1000/ with the files for the app (ex: snap.discord). So, maybe using the path /run/user/1000/snap.discord/discord-ipc-0 instead default may work.

I made a symbolic link /run/user/1000/snap.discord/discord-ipc-0 --> /run/user/1000/discord-ipc-0 and the extension worked normally .
image

Is it possible to fall back from the standard location to snap's location if it fails to connect? Or add an rpc.ipcPath to config?

@xhayper xhayper added the bug Something isn't working label Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants