Skip to content

Instantly share code, notes, and snippets.

@iFrostizz
Created September 25, 2022 17:55
Show Gist options
  • Save iFrostizz/1c4835c1bf9fac70d98d470eb6cc7948 to your computer and use it in GitHub Desktop.
Save iFrostizz/1c4835c1bf9fac70d98d470eb6cc7948 to your computer and use it in GitHub Desktop.
Discord on Linux
#!bin/bash
#from https://www.makeuseof.com/download-discord-linux/
# note: run this as root
FILE=discord-0.0.20.tar.gz
sudo tar -xvzf $FILE -C /opt
sudo ln -sf /opt/Discord/Discord /usr/bin/Discord
sudo cat > /usr/share/applications/discord.desktop << EOF
[Desktop Entry]
Name=Discord
StartupWMClass=discord
Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone.
GenericName=Internet Messenger
Exec=/usr/bin/Discord
Icon=/opt/Discord/discord.png
Type=Application
Categories=Network;InstantMessaging;
Path=/usr/bin
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment