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

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

Open
ahmeddrawy opened this issue Feb 21, 2021 · 6 comments
Labels
area: plugin blocked by: Discord Problem is on Discord's side and cannot be fixed by the plugin. blocked by: IntelliJ Problem is in the IntelliJ Platform (or a specific IDE/plugin) and cannot be fixed by this plugin. state: blocked Something is blocking action. type: bug Something isn't working.

Comments

@ahmeddrawy
Copy link

No description provided.

@b-ncMN
Copy link
Collaborator

b-ncMN commented Feb 21, 2021

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).

@Almighty-Alpaca Almighty-Alpaca changed the title Problem running phpStorm 20.3.2 as Snap Package, discord as snap package on Ubuntu 20.04 LTS Issues with Discord/IDE as Snap packages or from the Ubuntu Software Center Mar 3, 2021
@Almighty-Alpaca
Copy link
Owner

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 snapcrafters/discord#25 (comment). Maybe you have some luck with that.

@Almighty-Alpaca Almighty-Alpaca added area: plugin blocked by: Discord Problem is on Discord's side and cannot be fixed by the plugin. blocked by: IntelliJ Problem is in the IntelliJ Platform (or a specific IDE/plugin) and cannot be fixed by this plugin. state: blocked Something is blocking action. type: bug Something isn't working. labels Mar 3, 2021
@Almighty-Alpaca Almighty-Alpaca pinned this issue Mar 3, 2021
@itsTyrion
Copy link

install those applications with flatpak (and a workaround)

what workaround?

@pnelego
Copy link

pnelego commented Mar 27, 2022

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,

@joserobjr
Copy link

joserobjr commented Jan 13, 2023

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

@itsTyrion
Copy link

itsTyrion commented Jan 15, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: plugin blocked by: Discord Problem is on Discord's side and cannot be fixed by the plugin. blocked by: IntelliJ Problem is in the IntelliJ Platform (or a specific IDE/plugin) and cannot be fixed by this plugin. state: blocked Something is blocking action. type: bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

6 participants