Giter Site home page Giter Site logo

Comments (36)

Stapleton avatar Stapleton commented on August 15, 2024 171

I found a solution to the extension not working on Ubuntu Budgie 18.04.
Don't install Discord from the software centre. If you have, uninstall it.
Go to https://discordapp.com mouse over "Download for Linux" then hit ~.deb` [Direct Link]
Open your downloads folder, right click and hit "Open Tilix/(some terminal emulator) here" and then paste in the following

# This first
dpkg -i discord*.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt install --fix-broken

Installing the actual package and not the snap package is what made it work for me like a charm.
Makes it seem like snap's packaging either strips features or isolates the app to the extent some stuff either doesn't work or is flaky.

from discord-vscode.

kalkafox avatar kalkafox commented on August 15, 2024 51

I found a solution to the extension not working on Ubuntu Budgie 18.04.
Don't install Discord from the software centre. If you have, uninstall it.
Go to https://discordapp.com mouse over "Download for Linux" then hit ~.deb` [Direct Link]
Open your downloads folder, right click and hit "Open Tilix here" and then paste in the following

# This first
dpkg -i discord-0.0.5.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt --fix-broken install

Installing the actual package and not the snap package is what made it work for me like a charm.
Makes it seem like snap's packaging either strips features or isolates the app to the extent some stuff either doesn't work or is flaky.

One thing to note as well: Make sure you also do NOT have Visual Studio Code installed on the Software Center. Just had this same issue, but I was able to fix it.

Go to the Visual Studio Code website and download VSCode. Direct link

In your Downloads folder, run the following in a Terminal.

sudo dpkg -i code*.deb
sudo apt install --fix-broken #incase packages are missing

You should be all set now.

from discord-vscode.

iDevoid avatar iDevoid commented on August 15, 2024 14

has anyone faced the same problem on Fedora?

from discord-vscode.

HPaulson avatar HPaulson commented on August 15, 2024 3

I'd like to stress the comment made here. Basic fix: Don't use Software Installer. For Discord OR vscode.

from discord-vscode.

ElnuDev avatar ElnuDev commented on August 15, 2024 2

TL;DR: If this isn't working for you:

  1. If you installed Discord through Ubuntu Software, uninstall it.
  2. Reinstall Discord with the download directly from Discord's website.
  3. If you installed Visual Studio Code through Ubuntu Software, uninstall it.
  4. Reinstall Visual Studio Code directly from Visual Studio's website.
  5. If you get the error "Failed to install file: not supported" from Ubuntu Software when installing Discord or Visual Studio Code directly from their websites, use the GDebi Package Installer instead. It usually installs properly when Ubuntu Software fails, and when it fails it gives a detailed error.

from discord-vscode.

Stapleton avatar Stapleton commented on August 15, 2024 1

Try starting discord and VSCode both as Administrator

from discord-vscode.

danbulant avatar danbulant commented on August 15, 2024 1

Don't use Software Installer

Don't forget that this is an issue with snap based installers (like in Ubuntu). Other software centers which don't use snaps usually uses the deb package, meaning the installation will work normally.

Snaps are pretty isolated from system, nearly like running a VM. They're more secure, but also more limited and some features like rich presence might not work.

from discord-vscode.

kavinvalli avatar kavinvalli commented on August 15, 2024 1

I am on a Mac. How do I solve the issue? I downloaded the app from their website

It ended up connecting after I reinstalled the extension

from discord-vscode.

viktorashi avatar viktorashi commented on August 15, 2024 1

For anybody that it doesn't work for: I got it working, by just uninstalling vscode and installing it back,

BEWARE THOUGH, AS IT WILL DELETE ALL YOUR SETTINGS AND EXTENSIONS, IT'S GONNA BE LIKE BEFORE YOU INSTALLED IT AND WENT THROUGH THE COSTUMIZATION PROCESS, VERY ANNOYING.

  1. Uninstall VsCode
  2. Install It back Up
  3. Install the rich presence plugin again.
  4. You should be done I hope

NOT DISCORD, but Vscode,

from discord-vscode.

iCrawl avatar iCrawl commented on August 15, 2024

#66

Spotify Rich Presence is an official Discord implementation so its not comparable.
Discord does a very poor job when implementing RPC for Ubuntu, nothing I can do.

from discord-vscode.

mortim avatar mortim commented on August 15, 2024

okey thanks

from discord-vscode.

dakyskye avatar dakyskye commented on August 15, 2024

I found a solution to the extension not working on Ubuntu Budgie 18.04.
Don't install Discord from the software centre. If you have, uninstall it.
Go to https://discordapp.com mouse over "Download for Linux" then hit ~.deb` [Direct Link]
Open your downloads folder, right click and hit "Open Tilix here" and then paste in the following

# This first
dpkg -i discord-0.0.5.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt --fix-broken install

Installing the actual package and not the snap package is what made it work for me like a charm.
Makes it seem like snap's packaging either strips features or isolates the app to the extent some stuff either doesn't work or is flaky.

Thank you @OscarXcore for solution and @iCrawl for referencing this to me !

from discord-vscode.

Stapleton avatar Stapleton commented on August 15, 2024

No worries! I noticed that when you download the .deb off of the discord website, it opens the software centre. Anything that is installed in the software centre isn't the actual package, the .deb just links to the snap version unless you install the .deb with dpkg.

from discord-vscode.

gregistech avatar gregistech commented on August 15, 2024

sudo apt --fix-broken install is not correct, I had to use sudo apt install --fix-broken

from discord-vscode.

kalkafox avatar kalkafox commented on August 15, 2024

@thegergo02 Goodness me, I'm very sorry about that. I was half-assed tired.

Fixed now.

from discord-vscode.

Stapleton avatar Stapleton commented on August 15, 2024

Fixed my comment as well @thegergo02

from discord-vscode.

RyanTheDevelopan avatar RyanTheDevelopan commented on August 15, 2024

Um, I'm starting to experience the same problem. I'm using Windows 7 Ultimate.

from discord-vscode.

Blaze135 avatar Blaze135 commented on August 15, 2024

I have problem with connect to discord
https://gyazo.com/8a41e2bf56965135aaf5170d9c1db808

from discord-vscode.

Pverte avatar Pverte commented on August 15, 2024

It’s ok for me, I downloaded manually and now it’s work

from discord-vscode.

kavinvalli avatar kavinvalli commented on August 15, 2024

I am on a Mac. How do I solve the issue? I downloaded the app from their website

from discord-vscode.

RCout1nho avatar RCout1nho commented on August 15, 2024

i'm on ubuntu 20.04 and i have the rpc connection problem, anyone can help me?

from discord-vscode.

aliredahajj avatar aliredahajj commented on August 15, 2024

I have the same error but I am on windows 10 home

from discord-vscode.

RCout1nho avatar RCout1nho commented on August 15, 2024

i'm on ubuntu 20.04 and i have the rpc connection problem, anyone can help me?

I resolved it, i just installed vscode and discord from oficial sites and install with dpkg

from discord-vscode.

brendan-27 avatar brendan-27 commented on August 15, 2024

Just restarting my pc worked for me.

from discord-vscode.

dinogomez avatar dinogomez commented on August 15, 2024

i'm on ubuntu 20.04 and i have the rpc connection problem, anyone can help me?

@RCout1nho try following @Stapleton fix

# This first
dpkg -i discord-0.0.5.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt install --fix-broken

I removed both VSCODE and Discord from the pre-installed packages and redownloaded them fresh from their official websites then Discord Presence started to work.

from discord-vscode.

dinogomez avatar dinogomez commented on August 15, 2024

@RCout1nho you can uninstall pre-installed discord by using this command.
sudo snap remove discord

from discord-vscode.

DeveloperPY-git avatar DeveloperPY-git commented on August 15, 2024

it was helpful thanks

from discord-vscode.

HeySkidee avatar HeySkidee commented on August 15, 2024

I uninstalled both discord and vs code from ubuntu software
and then installed them from the official websites
It worked for me..Thanks :)

from discord-vscode.

Avnoor-Gamerz avatar Avnoor-Gamerz commented on August 15, 2024

I found a solution to the extension not working on Ubuntu Budgie 18.04.
Don't install Discord from the software centre. If you have, uninstall it.
Go to https://discordapp.com mouse over "Download for Linux" then hit ~.deb` [Direct Link]
Open your downloads folder, right click and hit "Open Tilix/(some terminal emulator) here" and then paste in the following

# This first
dpkg -i discord-0.0.5.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt install --fix-broken

Installing the actual package and not the snap package is what made it work for me like a charm.
Makes it seem like snap's packaging either strips features or isolates the app to the extent some stuff either doesn't work or is flaky.

what will for windows

from discord-vscode.

Stapleton avatar Stapleton commented on August 15, 2024

what will for windows

Run them as admin. A proper solution for windows should be made into a new issue.

from discord-vscode.

Th3Ph4nt0m avatar Th3Ph4nt0m commented on August 15, 2024

I found a solution to the extension not working on Ubuntu Budgie 18.04.
Don't install Discord from the software centre. If you have, uninstall it.
Go to https://discordapp.com mouse over "Download for Linux" then hit ~.deb` [Direct Link]
Open your downloads folder, right click and hit "Open Tilix/(some terminal emulator) here" and then paste in the following

# This first
dpkg -i discord-0.0.5.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt install --fix-broken

Installing the actual package and not the snap package is what made it work for me like a charm.
Makes it seem like snap's packaging either strips features or isolates the app to the extent some stuff either doesn't work or is flaky.

Thank you soooo much!

I have a similar solution:

  1. Open Discord
  2. Remove Discord via "Ubuntu Software" (While Discord is still opened!)
  3. Wait until the store is finished
  4. Close Discord
  5. Open Discord again

This worked for me!

from discord-vscode.

Peresh avatar Peresh commented on August 15, 2024

For OS X Big Sur, grant the vscode "Full Disk Access" may help.

Just go Sustem Preferences -> Security & Privacy -> Full Disk Access -> Add the vscode

from discord-vscode.

Avnoor-Gamerz avatar Avnoor-Gamerz commented on August 15, 2024

from discord-vscode.

fred-direne avatar fred-direne commented on August 15, 2024

For who is using it on MacOS just go to System Preferences -> Security & Privacy -> Firewall -> Firewall options and allow both vscode and discord incoming connections. It worked for me

from discord-vscode.

DiegoNG90 avatar DiegoNG90 commented on August 15, 2024

I found a solution to the extension not working on Ubuntu Budgie 18.04. Don't install Discord from the software centre. If you have, uninstall it. Go to https://discordapp.com mouse over "Download for Linux" then hit ~.deb` [Direct Link] Open your downloads folder, right click and hit "Open Tilix/(some terminal emulator) here" and then paste in the following

# This first
dpkg -i discord*.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt install --fix-broken

Installing the actual package and not the snap package is what made it work for me like a charm. Makes it seem like snap's packaging either strips features or isolates the app to the extent some stuff either doesn't work or is flaky.

It worked perfectly for me.
Danke schön @kalkafox

from discord-vscode.

DexrnZacAttack avatar DexrnZacAttack commented on August 15, 2024

What about people that use Fedora, as there seems to be no RPM package and updating Discord is hella annoying, so Flatpak is the easiest way.

from discord-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.