s5bug / discord-intellij

A plugin for interaction between JetBrains IDEs and Discord RPC
http://plugins.jetbrains.com/plugin/10217-intellij-discord-integration
24 stars 4 forks source link

Does this work on Ubuntu? #20

Closed Azure-Agst closed 6 years ago

Azure-Agst commented 6 years ago

Sorry for the super generic sounding question, but I can't seem to get this to work at all on Ubuntu 16.04. After fumbling around with the package and even testing some of it's older versions, I couldn't get it to function; I could enable the package, but I would see no results. Even the logs say that the plugin launches fine:

2018-03-26 20:17:58,259 [   3456]   INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: IntelliJ Discord Integration (2.0), Markdown support (173.4301.21), Material Theme UI (1.6.1) 

If it's worth anything, I'm using CLion (build #CL-173.4674.29, 05 Mar 2018 11:41) installed via snap.

Thanks!

s5bug commented 6 years ago

Once the plugin is installed, reload discord. Once discord finishes its reload, in CLion, File -> Restart -> Restart and Invalidate. Should work after that.

On Mon, Mar 26, 2018 at 6:03 PM just call me azure notifications@github.com wrote:

Sorry for the super generic sounding question, but I can't seem to get this to work at all on Ubuntu 16.04. After fumbling around with the package and even testing some of it's older versions, I couldn't work; I could enable the package, but I would see no results. Even the logs say that the plugin launches fine:

2018-03-26 20:17:58,259 [ 3456] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: IntelliJ Discord Integration (2.0), Markdown support (173.4301.21), Material Theme UI (1.6.1)

If it's worth anything, I'm using CLion (build #CL-173.4674.29, 05 Mar 2018 11:41) installed via snap.

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TsundereBug/discord-intellij/issues/20, or mute the thread https://github.com/notifications/unsubscribe-auth/AHZGgGoUgjOg7efP3rCCOUKB-1DJi7Ulks5tiY_NgaJpZM4S8IMm .

Azure-Agst commented 6 years ago

@TsundereBug Hmm, nope. Tried doing as you said and still nothing. Tried doing a hard reboot as well and that also did nothing. Tried updating to Vaatu's most recent release of discord-rpc.jar and nevertheless the problem persisted.

I'm not a java developer (as you can tell by the IDE I'm using) but I've forked the repo and I'll see if I can debug it to figure out what exactly's going wrong.

Azure-Agst commented 6 years ago

hm. tried it on my windows 64bit machine and it still doesn't work. tried the invalidation trick and still nothing. :/

s5bug commented 6 years ago

Don't have intellij as a game in discord and allow it to find games automatically? I don't know what else to say besides that.

just call me azure notifications@github.com schrieb am Di., 27. März 2018, 05:06:

hm. tried it on my windows 64bit machine and it still doesn't work. tried the invalidation trick and still nothing. :/

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/TsundereBug/discord-intellij/issues/20#issuecomment-376500691, or mute the thread https://github.com/notifications/unsubscribe-auth/AHZGgNzmCWmazAt7JcKsb6wGoRJwLXNpks5tiitdgaJpZM4S8IMm .

revsuine commented 6 years ago

Just thought I'd say I'm having the same issue on vanilla Ubuntu 16.04. I don't code on my Windows machine but I can try it just in case. Tried with both IntelliJ and PyCharm. IntelliJ and PyCharm were installed from the Ubuntu store, and Discord from the official website.

Edit: FWIW, I manually added PyCharm as a game (still no rich presence though). Also, PyCharm is installed at /snap/pycharm-community/58/jre64/bin (./java is the executable) and Discord is in /usr/bin/discord.

s5bug commented 6 years ago

Can you get me any logs?

On Wed, Apr 11, 2018, 9:35 AM Julian Gao notifications@github.com wrote:

Just thought I'd say I'm having the same issue on vanilla Ubuntu 16.04. I don't code on my Windows machine but I can try it just in case. Tried with both IntelliJ and PyCharm. IntelliJ and PyCharm were installed from the Ubuntu store, and Discord from the official website.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/TsundereBug/discord-intellij/issues/20#issuecomment-380516398, or mute the thread https://github.com/notifications/unsubscribe-auth/AHZGgNNFKgBGfkgX8u6bKYjJwLc3pJ5bks5tnjDJgaJpZM4S8IMm .

revsuine commented 6 years ago

Sure. This should be my startup log for the current session, I believe? Let me know if you want more of it, wasn't sure how much to send.

s5bug commented 6 years ago

I don't remember how to grab the log file, but the entire log file will work.

On Wed, Apr 11, 2018, 11:59 AM Julian Gao notifications@github.com wrote:

Sure. This https://hastebin.com/kiralaqevi.rb should be my startup log for the current session, I believe? Let me know if you want more of it, wasn't sure how much to send.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/TsundereBug/discord-intellij/issues/20#issuecomment-380560407, or mute the thread https://github.com/notifications/unsubscribe-auth/AHZGgAs-HVTIyEGHsPCAt5dWJrOd511Lks5tnlKGgaJpZM4S8IMm .

revsuine commented 6 years ago

@TsundereBug I only gave a partial log because all the paste sites I could find didn't allow files of that size, but I believe this gist should work.

s5bug commented 6 years ago

I can't figure out for the life of me why the plug-in doesn't work. Can you try updating to version 2.2 in the plugins menu?

On Thu, Apr 12, 2018, 5:54 AM Julian Gao notifications@github.com wrote:

@TsundereBug https://github.com/TsundereBug I only gave a partial log because all the paste sites I could find didn't allow files of that size, but I believe this https://gist.github.com/paradoor/dbf25f079ecf09d9e48a6ecb2451fd31 gist should work.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/TsundereBug/discord-intellij/issues/20#issuecomment-380794874, or mute the thread https://github.com/notifications/unsubscribe-auth/AHZGgISMIBZrZ_Qjx56wXcpOJS_DKhMKks5tn06YgaJpZM4S8IMm .

revsuine commented 6 years ago

Have updated to 2.2. Discord still isn't detecting anything. Sorry :/ If there's anything I can do to give more info, I'd be happy to do so

s5bug commented 6 years ago

@Vatuu I'm out of ideas. Got anything?

On Thu, Apr 12, 2018, 11:06 AM Julian Gao notifications@github.com wrote:

Have updated to 2.2. Discord still isn't detecting anything. Sorry :/ If there's anything I can do to give more info, I'd be happy to do so

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/TsundereBug/discord-intellij/issues/20#issuecomment-380894706, or mute the thread https://github.com/notifications/unsubscribe-auth/AHZGgM87OZaM4FA3a_imqInfHGVuAmObks5tn5eKgaJpZM4S8IMm .

Azure-Agst commented 6 years ago

Can confirm that it’s not just ubuntu not allowing Rich Presence, this Node.JS library worked when I tested it. (See discord.js/RPC.) @paradoor could you confirm any form of rich presence like this works while on ubuntu?

revsuine commented 6 years ago

@Azure-Agst Haven't tried that lib in specific, but I've tried a RPC plugin for VS Code and it worked. So it's probably something to do with the RPC lib this plugin is using. I actually tried another RPC JetBrains plugin and it didn't work either, so maybe it's something with Java or JetBrains IDEs?

s5bug commented 6 years ago

@paradoor @Azure-Agst Update to 2.2.1 given the zip in #18 and see if that fixes it

Azure-Agst commented 6 years ago

Seems to fix it. Thanks for the help!

revsuine commented 6 years ago

@TsundereBug Installed the zip and nothing happened. I could click the toggle button from the dropdown but Discord did not show anything. Here are the logs. As OP's problem is now fixed, I can start a new issue for this if you want?

s5bug commented 6 years ago

You made sure to not have the IDE listed in discord as a game, restarted Discord, and then restarted the IDE?

On Fri, Apr 20, 2018, 9:00 AM Julian Gao notifications@github.com wrote:

@TsundereBug https://github.com/TsundereBug Installed the zip and nothing happened. I could click the toggle button from the dropdown but Discord did not show anything. Here https://pastebin.com/PrNRGGbk are the logs. As OP's problem is now fixed, I can start a new issue for this if you want?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/TsundereBug/discord-intellij/issues/20#issuecomment-383142435, or mute the thread https://github.com/notifications/unsubscribe-auth/AHZGgMRleykV6Iqk_Mk19TRISLj9ueJlks5tqgYagaJpZM4S8IMm .

Vatuu commented 6 years ago

Does everything work now?

revsuine commented 6 years ago

Yep, restarted both, and haven't listed anything as a game in Discord.

s5bug commented 6 years ago

Yeah, go ahead and set a new issue

On Sat, Apr 21, 2018, 2:36 AM Julian Gao notifications@github.com wrote:

Yep, restarted both, and haven't listed anything as a game in Discord.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/TsundereBug/discord-intellij/issues/20#issuecomment-383281314, or mute the thread https://github.com/notifications/unsubscribe-auth/AHZGgOIEyzZQn9-upfAZnA6IGR3_GeAjks5tqv2UgaJpZM4S8IMm .