Discord recently shared a potted roundup of improvements made to its Linux app this year, including smarter updating, better screen sharing on Wayland and working push-to-talk.
Their Discord <3 Linux: A Year of Upgrades blog post also reveals that per-app audio sharing is finally coming to Wayland-based desktops, though it’s not ready for testing just yet.
As I don’t personally use Discord that often, the roundup was an interesting read for me.
Notable, Discord’s Linux installer was made a lot smaller. The new Deb package I downloaded is ~4.6 MB, while a (much) older release I found a link to is roughly 100 MB – a big difference!
The installer also installs a bit differently, launching a bootstrapped tool that unpacks the app in your home directory. Delta updates are used to reduce the amount of data fetched for subsequent releases, saving time and bandwidth – and don’t require sudo.
Discord’s Wayland support improved
Screen sharing on Discord under Wayland has been patchy for ages, but thanks to work done with Igalia, the open source consultancy company, it’s in a much better state. Window sharing permissions get requested and granted via the XDG Desktop Portal.
Discord’s push-to-talk feature, which lets you hold a key to transmit your voice even when another app (like a game) is in focus, now works under Wayland too. The feature was implemented via the GlobalShortcuts portal.
Wayland is now default on most major Linux distributions, so Discord says it’s “the future we built for”. Video encoding now works on more supported GPUs, and its Go Live feature now works on Valve’s Linux-powered Steam Deck handheld.
Per-app audio sharing in Discord Linux
Right now, you can only share all of your system’s audio to Discord when running under Wayland or none of it. If you’re streaming a game but listening to music at the same time, you have to share both – not ideal.
Discord says it’s working with Igalia to add per-app audio sharing in xdg-desktop-portal so that you can choose which app (or game) sound passes through. It even says it is writing the relevant GNOME and KDE parts itself ‘to get it to users faster’.
When? Well, it won’t be super-duper soon as the relevant pieces need to land upstream and then be adopted and added to Linux distributions. Discord say the work is a ‘long term investment’ at making a great Linux screensharing experience.
Not just for their app, either. The changes will benefit any software that wants to securely access, record to share screens and audio on Linux desktops under Wayland.
Installing Discord on Ubuntu
The official snap remains the easiest way to install Discord on Ubuntu (and stay updated). Find it in the App Center or run sudo snap install discord from your preferred terminal.
If you prefer traditional packages, download the new(er, smaller) Debian package from the Discord website. If you get stuck with any of that, I have a guide to installing Discord on Ubuntu walking through those.
Do you use Discord on Ubuntu? Do you think the experience has improved? Let me know in the comments.