Discord is an instant messaging and VoIP social platform. Users have the ability to communicate with voice calls, video calls, text messaging, media and files in private chats or as part of communities called "servers".
The official Discord client does not support screen sharing with audio on Linux. This is a workaround to enable screen sharing with audio in Discord on Linux using a custom Discord client.
-
Install the Vesktop (
dev.vencord.Vesktop
) app as a Flatpak. -
Launch and use the Vesktop app as you normally would with the official Discord client.
-
While in a call or a voice channel, click the Share Your Screen button.
-
Select the window or the screen you wish to share.
-
Under the Stream Settings section, select the desired Resolution and Frame Rate.
-
Expand the Audio dropdown and select the audio source you wish to share.
-
Click the Go Live button to start sharing your screen/window with the selected audio.
This details several troubleshooting steps and workarounds for specific issues with the official Discord client on Linux.
This is a workaround for when Discord forces an update to a new version, before it becomes available on Linux.
-
Update Discord's
build_info.json
file.-
If you are using the Flatpak version of the Discord client:
sudo nano /var/lib/flatpak/app/com.discordapp.Discord/current/active/files/discord/resources/build_info.json
If you get an error stating that the directory does not exist, you might have installed the Discord Flatpak for the current user only (instead of the system). In that case, the correct path and command would be:
nano ~/.local/share/flatpak/app/com.discordapp.Discord/current/active/files/discord/resources/build_info.json
[!TIP]
App data for Flatpak apps installed for the whole system are stored in the/var/lib/flatpak
directory, while app data for Flatpak apps installed only for the current user are stored in the~/.local/share/flatpak
directory. -
If you are using the Pacman (
yay
) version of the Discord client:sudo nano /opt/discord/resources/build_info.json
-
-
Update the
version
number to the latest version Discord expects you to update to (i.e.0.0.22
):{ "releaseChannel": "stable", "version": "0.0.22" }
-
Save the file and restart Discord.