JetBrains-Discord-Integration icon indicating copy to clipboard operation
JetBrains-Discord-Integration copied to clipboard

Issues with Discord/IDE as Snap packages or from the Ubuntu Software Center

Open ahmeddrawy opened this issue 3 years ago • 6 comments

ahmeddrawy avatar Feb 21 '21 15:02 ahmeddrawy

Hi, it is currently not possible to use this plugin when both Discord and your IDE are installed with snap because of the sandboxing, and the fact the plugin is not able to connect to the discord socket

therefore I recommend you to either : install those applications with flatpak (and a workaround) install those applications on "bare metal" (without any sandboxing environment).

b-ncMN avatar Feb 21 '21 16:02 b-ncMN

As far as I know, there's no easy way to get this to work under Snap due to its nature of sandboxing applications. That being said I'm by far not a Snap expert so if anyone wants to prove me wrong feel free to do so.

For Discord's side, you can take a look at https://github.com/snapcrafters/discord/issues/25#issuecomment-673590214. Maybe you have some luck with that.

Almighty-Alpaca avatar Mar 03 '21 07:03 Almighty-Alpaca

install those applications with flatpak (and a workaround)

what workaround?

itsTyrion avatar Nov 20 '21 23:11 itsTyrion

As far as I can tell, sudo snap connect discord:system-observe is not effective. While this isn't the end of the world, it would certainly make transitioning to Linux from Windows a little less frustrating for new users,

pnelego avatar Mar 27 '22 23:03 pnelego

Unfortunately the only workaround that I found was to not use snap for discord and intellij :/ I did:

sudo snap remove discord
sudo snap remove intellij-idea-community
sudo apt install alien

Download the discord's .deb and double clicked to install Downloaded the intellij toolbox's .tar.gz from https://www.jetbrains.com/pt-br/toolbox-app/ ran:

sudo alien jetbrains-toolbox-1.27.2.13801.tar.gz

Duble clicked the generated jetbrains-toolbox.deb file to install ran:

sudo ln -s /jetbrains-toolbox-1.27.2.13801/jetbrains-toolbox /usr/local/bin/jetbrains-toolbox

because it placed the runnable binary file in an bad place ran jetbrains-toolbox installed IntelliJ from GUI and everything was the same way has before, except that DiscordIntegration works now

joserobjr avatar Jan 13 '23 22:01 joserobjr

honestly? The best thing you can do is remove Ubuntu Software and install Gnome-Software with snap+flatpak plugin. It's WAY faster because it's not based on an ancient gnome software version and still supports snaps if you want them.

sudo snap remove snap-store --purge sudo apt install flatpak gnome-software-plugin-snap gnome-software-plugin-flatpak

Then, install IntelliJ via toolbox or flatpak and discord as flatpak.

Don't get me wrong, I'm NOT hatitng on snap. It has it's uses but some issues, like this one, just don't seem to get fixed.

itsTyrion avatar Jan 15 '23 15:01 itsTyrion