-
Notifications
You must be signed in to change notification settings - Fork 47
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
README example is broken in Ubuntu #16
Comments
If it's not too much to ask, could you add this line to the program near the start and report back what it gives you? println(System.getProperty("java.io.tmpdir")) |
@Shengaero |
I decided to add some debug logs to the
I also switched the order of the
Maybe I can set the environment variables, then the issue wouldn't happen, right? Maybe I made a fucky wucky on this Ubuntu installation (first time using Linux on a desktop 😛), but that wouldn't fix the issue since the Also maybe this is happening because I'm running directly from IntelliJ IDEA |
It seems like it's an ubuntu related thing. |
It actually seems that snap sets the Compiling the rich presence and running via the terminal works fine, so it is just an issue if you are running via IDEA itself. Maybe adding an option to override the socket path when using |
you can probably just set that system property from earlier to the new temp dir |
Installing IDEA via Jetbrains Toolbox fixed the issue. Maybe adding a small note in the README that, if IDEA is installed via snap/Ubuntu App Store, it won't work/will require workarounds? |
This seems very edge case and we won't be putting something in the readme, we will simply refer anyone having trouble to this issue. |
I'm running the code directly from IDEA, maybe that's why it isn't working? Discord's IPC socket is in
./run/user/1000/discord-ipc-0
on my systemThe text was updated successfully, but these errors were encountered: