My previous efforts at installing BetterDiscord is a trainwreck. Because of this I finally got around to investigating how to make it work, and a user by the name of Observer of Time made possible the means to install BetterDiscord. This will resolve every single one of your issues with installing it on Ubuntu and other open-source systems. This will work guaranteed (at least in a live session).
This provides the means to install additional utilities as plugins for ease-of-use and modify its appearance with themes which can help to enhance your Discord experience by skinning the client to match with a system theme or other preferred appearance.
Installing the installer
You should have installed Discord and run it the first time before performing any of this.
Be sure you quit Discord before following the details below.
This is pretty straight-forward. You can use a variety of means to install it here but if you're on Cosmic, you will have to do some tinkering when using
add-apt-repository. As follows;
sudo nano /etc/apt/sources.list.d/chronobserver-ubuntu-betterdiscordctl-cosmic.list
Then paste the following;
deb http://ppa.launchpad.net/chronobserver/betterdiscordctl/ubuntu bionic main # deb-src http://ppa.launchpad.net/chronobserver/betterdiscordctl/ubuntu bionic main
You can also use
plumaif not comfortable with CLI apps. Alternatively you can use the bionic repos directly, but this way if there ever is an update for cosmic you'll get those immediately.
sudo apt update you can then proceed with next steps for installing Bandaged BetterDiscord, the fork of BetterDiscord maintained by Zerebos and which had become the "Official" version of BetterDiscord v1.
Making Discord better
Before you begin, you have to do this first since
betterdiscordctl doesn't do this automatically (subject to change):
Yes, case does matter, for you Linux initiates trying to do this.
After creating the directory BetterDiscord needs to see so it may populate, you can then perform the following for a very verbose installation procedure:
betterdiscordctl install -v -v -d /usr/share/discord -m ~/.config/discord/0.0.5/modules
Once finished, it will say so. The above does depend on the present version of Discord as written, I may try to figure out a better way of handling things but if later on you encounter issues, make sure of the following;
- Does Discord install to
To check this, perform
ls /usr/shareand see if Discord is there.
- Is the module directory in the command above valid?
To check this, perform
This might not appear if you don't run Discord the first time!
If you don't see
~/.config/discord then the above command will not work, and need modification to perform as intended. once modified for the correct paths, it will work.
Now that it's working...
When running it for the first time, you might be flummoxed about what plugins and themes are available. There are a couple of plugins which help with that, which you can put into
- Plugin repo for finding awesome add-ons which either append onto existing functions or add new capabilities into the client.*
- Theme repo for changing the appearance of the Discord desktop client into anything you could possibly imagine, by finding and appending onto solid bases to further change via CSS how Discord looks and feels.*
*: Some plugins are dependent of other plugins. Some "Themes" may intend to enhance functionality of the desktop client and / or themes similarly to plugins. Some extensive themes may interfere with the functionality of other, less extensive or special-purpose themes. Not all themes support popular plugins. As an end-user, you agree to perform modifications as necessary so all software provided therein work together, or make a "Best effort" to request software authors support other works.
Need further help?
Check here for a support server which should answer a fair majority of your questions regarding errors and issues with using BetterDiscord. Be warned; the culture within BetterDiscord's development team is more on the acidic side, so be prepared for snark and smart-alec commentary if you present yourself as a complete and total noob.
Don't read this.
Here lies old stuff. A lot of this doesn't apply anymore and exists for legacy purposes.### If you're lazy and wish for the below to be automated, [url=https://raw.githubusercontent.com/Hebgbs/Hebgbs.github.io/master/betterdiscordoneshot.sh]_right-click_ here.[/url] _Save Link As_ a `.sh` file where you keep your Git stuff, `chmod +x` it and execute it _by itself_.
Did the above go over your head? That's alright. Assuming some things, and if you find the terminal easier to deal with, repurpose this example for your local filesystem;
mkdir -p ~/git cd ~/git wget https://raw.githubusercontent.com/Hebgbs/Hebgbs.github.io/master/betterdiscordoneshot.sh -O ./betterdiscordoneshot.sh sudo chmod +x betterdiscordoneshot.sh ./betterdiscordoneshot.sh
Lastly, if you still want Discord Canary, you can edit this script to install that instead of the build that is publicly available. BetterDiscord works on both, the only difference is Canary users get features to-be-implemented sooner. Simply follow the comments in the script to make it install Discord Canary instead.
If you don't know already what Discord is, crawl out from under the rock you've been living at and check it out. Else, if you've been using Discord for some time, you might had caught wind, and even use an enhancement for the desktop version of Discord called BetterDiscord. Previously you had to use the Canary build on Linux but those dark days are over; Discord is officially released for Linux and is accessible from its downloads page.
Note; These instructions are specific for Ubuntu derivatives, this guide should not be considered as a generic Linux guide for any distribution: these instructions may need to be modified for use elsewhere.
It's not quite as easy to install BetterDiscord on Linux as it is on Windows, since there's a bit of requisite software that needs to be set up first. Dealing with this first will ensure a smoother experience later;
sudo apt install -y git npm # Git and Node Package Manager sudo npm install -g n # Install the Node version control helper sudo n stable # Use the latest stable version of node.js
Node is very weird and I had a tough time trying to explain the above. Nonetheless it's required.
mkdir -p ~/git && cd ~/git # Optional; Keep your tree tidy! git clone https://github.com/jiiks/betterdiscordapp cd betterdiscordapp/Installers/Electron # More things need to be done here first
Expand this to read about script stuffJiiks merged a fix for `src/installer_index.js` inside `betterdiscordapp/Installers/Electron` but my script _previously_ deleted `installer_index.js` and grabbed Leeo97one's commit which resolved the Electron installer issue previously making installation of BetterDiscord in 0.0.1x impossible. That's been removed now.
`npm install # Get version 1.2.8 of Electron
npm install --save-dev electron # As from Electron's website; grab the latest version of Electron (1.4.1 as of 10/13/16)
Save yourself from having to make folders later; the below will assume these paths
mkdir -p ~/.config/betterdiscord # Where essential files will later reside
Alternatively you can skip making this and use the installer's default path; Just remember to replace any instance of the path above with this:/usr/local/share/BetterDiscord
mkdir -p ~/.BetterDiscord # Where user-modifiable stuff will later reside`
With all of that out of the way, you can now install BetterDiscord with the following command;
sudo ./node_modules/.bin/electron ./src
At the installer, you're presented with some stuff you need to click through. Here's where you'll end up;
Use the following information below; Paths are what had been assumed above with the mkdir commands earlier, else modify to preference;
- For the purposes of making BetterDiscord fit in a bit more with other Debian / Ubuntu software, put BetterDiscord into
~/.config/betterdiscord(browse to it)
- Discord resides in
A couple more things need to be done, after this, everything is finished;
- BetterDiscord will look for stuff in
/var/local/BetterDiscord; do this to make it fit in better:
sudo ln -s ~/.BetterDiscord /var/local/BetterDiscord
- Make utils.js usable (Discord wil not run otherwise);
cd ~/.config/betterdiscord/BetterDiscordApp-stable16/lib sudo mv Utils.js utils.js
- Alternatively, instead of
ln -s Utils.js utils.jscan be done; same difference.
discord and enjoy an improved Discord experience. From BetterDiscord's homepage you can check out the GitHub link and find your way into the BetterDiscord guild that way, or any time during use of BetterDiscord, click on the links that will send you to that guild's
# support text channel.