Skip to content

Instantly share code, notes, and snippets.

@ObserverOfTime
Last active July 22, 2024 15:05
Show Gist options
  • Save ObserverOfTime/d7e60eb9aa7fe837545c8cb77cf31172 to your computer and use it in GitHub Desktop.
Save ObserverOfTime/d7e60eb9aa7fe837545c8cb77cf31172 to your computer and use it in GitHub Desktop.
Install BetterDiscord on Linux

Install BetterDiscord on Linux

This Gist contains simple instructions on how to install, update, and uninstall BetterDiscord on Linux.

For more thorough documentation, take a look at betterdiscordctl's README.

Do NOT submit issues here as I don't check the comments. You should submit them here instead.

Install dependencies

Curl

Install using your package manager

Install betterdiscordctl

$ curl -O https://raw.githubusercontent.com/bb010g/betterdiscordctl/master/betterdiscordctl
$ chmod +x betterdiscordctl
$ sudo mv betterdiscordctl /usr/local/bin

You can then keep betterdiscordctl up to date with this command:

$ sudo betterdiscordctl self-upgrade

Install BetterDiscord

Replace [COMMAND] with install to install BD for the first time, reinstall to reinstall BD after a Discord update, or uninstall to uninstall an existing installation.

  • For Stable
$ betterdiscordctl [COMMAND]
  • For PTB
$ betterdiscordctl --flavor PTB [COMMAND]
  • For Canary
$ betterdiscordctl --flavor Canary [COMMAND]
  • For Snap
$ betterdiscordctl --d-install snap [COMMAND]
  • For Flatpak
$ betterdiscordctl --d-install flatpak [COMMAND]

Credits

BetterDiscord by Jiiks

Bandaged BD by Zerebos (rauenzi)

@shinji257
Copy link

Thanks for this. I'm on Linux Mint and using the Flatpak version of Discord. Went and used betterdiscordctl and had it install for flatpak and it worked first try. You do not need to download the Better Discord AppImage installer as betterdiscordctl takes care of installing it for you. Yay!

This is all part of my (inevitable) transition to Linux Mint.

@teunissenstefan
Copy link

I'm getting "/bin/bash: error reading input file: Permission denied" when using betterdiscordctl --d-install snap install. Any ideas?

@soraA420
Copy link

betterdiscordctl --flavor does not work anymore. only betterdiscordctl -f does

@Danielk14565
Copy link

eay

@mtfy
Copy link

mtfy commented Jun 10, 2022

@teunissenstefan

I'm getting "/bin/bash: error reading input file: Permission denied" when using betterdiscordctl --d-install snap install. Any ideas?

Try running the command as super user. Simply prefix the command with sudo, for example betterdiscordctl --d-install snap install.

@Floofy09
Copy link

how to get plugins?

@kaosine
Copy link

kaosine commented Jul 19, 2022

This works better than the default installer for me except it's missing the beta branch of flatpak....

@hiromiya1
Copy link

7

@WalaGithub
Copy link

Installation process in terminal is normal but does not work at all after rebooting on my Debian 12 build after update

@Matty-exe
Copy link

i installed it on ubuntu 22.04.4, but the section betterdiscord don't apear, why and how can i solve ?

@ItsCDubb
Copy link

What's the theme folder location?

@AskAlice
Copy link

anyone got a working pacman hook?

@mesaprotector
Copy link

anyone got a working pacman hook?

Probably not optimal, but this works for me.

[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Target = discord*

[Action]
Description = Rebuild BetterDiscord after Discord update
When = PostTransaction
Exec = /usr/bin/sudo -u USERNAME betterdiscordctl reinstall
NeedsTargets

@AskAlice
Copy link

AskAlice commented Jun 11, 2024

ahh yeah i think where i went wrong was putting two dashes between the sudo param and the betterdiscordctl cmd. ty 👍
[Trigger]
Operation=Upgrade
Type=Package
Target=discord

[Action]
Description=Update BetterDiscord
When=PostTransaction
Exec=runuser -u alice -- /usr/local/bin/betterdiscordctl reinstall 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment