Discord is a free all-in-one messaging, voice and video client that's available on your computer and phone.
This repo hosts the flatpak wrapper for Discord, available at Flathub.
flatpak install flathub com.discordapp.Discord
flatpak run com.discordapp.DiscordIf you're experiencing a problem exclusive to the Flatpak version of Discord, i.e. it doesn't happen when running the official deb or tar.gz packages unsandboxed, feel free to open an issue about it here.
Otherwise, please use the official bug report form instead, as it increases the chances of a bug getting fixed.
The flatpak version runs in a sandbox to provide better safety and privacy for users.
However, this sandboxing prevents the following features from working:
- Game Activity: This flatpak version of Discord cannot scan running processes to detect running games.
There is currently no workaround or solution for this limitation. - Rich Presence: See this page if you want to expose Discord's rich presence interface for other applications.
Wayland support is enabled by default since Discord 0.0.94 (released on 2025-05-05).
Please note that native window decorations are not enabled by default. To do so, add the following lines to your persistent launch options:
--enable-features=WaylandWindowDecorations
--ozone-platform-hint=auto
To disable Wayland support permanently, run:
flatpak override --user --nosocket=wayland com.discordapp.Discord
To make Discord's launch options persistent, add them to ~/.var/app/com.discordapp.Discord/config/discord-flags.conf (one option per line):
# This line will be ignored
--enable-features=WaylandWindowDecorations
# https://chromium.googlesource.com/chromium/src/+/master/docs/linux/password_storage.md
--password-store=basicThe Discord app has a built-in option for that, but it doesn't work on Flatpak mostly because of sandbox restrictions.
But we can still do that manually, with these two commands:
mkdir -p ~/.config/autostart
ln -s "$(flatpak info -l com.discordapp.Discord//stable | sed 's#/app/.*#/exports/share/applications/com.discordapp.Discord.desktop#')" ~/.config/autostartTo undo that, run:
rm ~/.config/autostart/com.discordapp.Discord.desktopChromium includes support for Speech Dispatcher, but it's currently opt-in. To enable it, run these two commands:
# Add the required permission
flatpak override --user --filesystem=xdg-run/speech-dispatcher:ro com.discordapp.Discord
# Add the required launch option
echo '--enable-speech-dispatcher' >> ~/.var/app/com.discordapp.Discord/config/discord-flags.confPlease note that you will also need a speech synthesizer installed (e.g. Piper, Festival, eSpeak NG), and at least version 0.12.0 of Speech Dispatcher for this setup to work seamlessly. The Arch Wiki can also be helpful to set this up properly.
The Discord app itself is proprietary (closed source).