Discord

From ArchWiki
Jump to navigation Jump to search

Discord is a proprietary, cross-platform, all-in-one voice and text chat application. It is especially tailored for gamers; however, many open-source communities have official Discord servers as well. Discord can be used through a web browser or through the desktop application, which is made with Electron.

Installation

You can use one of the following packages to install the desktop application for Discord:

Graphical clients

The official app:

Third-party clients:

Command-line clients

There are more CLI-based third-party clients out there hosted on places like GitHub (such as Discline or terminal-discord), although only a few are currently packaged on the AUR.

Chat client plugins

Custom CSS & Plugins

Through the betterdiscordAUR or betterdiscord-gitAUR packages, Discord can be modified to use custom CSS and plugins.

Note that usage of these packages, or any package or application that modified the Discord client, is against Discord's Terms of Service and may get your account banned. You take all responsibility when using these or similar packages.

Troubleshooting

  • If you cannot share individual monitors on a multi-monitor setup, you should try mon2cam-gitAUR as a workaround to this bug: Discord Trello
  • When using the Flatpak version of Discord, Rich Presence won't work out of the box. To make it work, it's necessary to create a symlink from $XDG_RUNTIME_DIR/discord-ipc-0 to $XDG_RUNTIME_DIR/app/com.discordapp.Discord/discord-ipc-0. To create the symlink for the current user session, run:
    $ ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-0
To automatically create the symlink, systemd-tmpfiles can be used by adding the following line to a file with the .conf extension in ~/.config/user-tmpfiles.d/:
L %t/discord-ipc-0 - - - - app/com.discordapp.Discord/discord-ipc-0
Tip: Discord can be started minimized through the --start-minimized argument.