Package Details: discord_arch_electron 1:0.0.128-1

Git Clone URL: https://aur.archlinux.org/discord_arch_electron.git (read-only, click to copy)
Package Base: discord_arch_electron
Description: Discord using system provided electron for increased security and performance
Upstream URL: https://discord.com
Keywords: chat discord discord-stable discordapp electron video voice
Licenses: custom
Conflicts: discord
Provides: discord
Submitter: johnnyapol
Maintainer: Zoddo
Last Packager: Zoddo
Votes: 206
Popularity: 1.77
First Submitted: 2020-05-19 23:51 (UTC)
Last Updated: 2026-03-10 20:35 (UTC)

Dependencies (8)

Required by (31)

Sources (3)

Pinned Comments

Zoddo commented on 2022-09-15 17:54 (UTC) (edited on 2026-01-25 10:44 (UTC) by Zoddo)

Starting with 0.0.55-2 (2024-06-09):
  • Added a patcher to make Krisp work with this package (kudos to @SunRed). You need to manually enable it (see the end of this message).
Starting with 0.0.26-1 (2023-03-31):
  • Switched back to the main electron package (electron22)
  • Watching cameras and streams is working again
Starting with 0.0.20-1 (2022-09-15):
  • Bumped electron16 to electron19 (I still have blocking issues with electron20)
  • Added support for $XDG_CONFIG_HOME/discord-flags.conf: this works like electron-flags.conf, you can set in this file the command line flags you want to pass to electron when running Discord (there are some useful flags in the wiki, especially if you are experiencing lag in the Discord UI).
FAQ

Discord requires an update, but this package isn't yet updated
Check the wiki.

The Discord UI is lagging
Try to add the flags recommended in the wiki in $XDG_CONFIG_HOME/discord-flags.conf.

Discord is crashing when starting/joining a stream
This issue arises because Discord recently started to patch their bundled Electron version to introduce their own custom stream API, which doesn't exist in the official Electron package.
Because Discord fallbacks to standard APIs when accessed from browsers, a fix is likely possible but hasn't been worked on yet.

Krisp is not available
An optional patcher is provided in the package to make Krisp work. To enable it, make sure python-capstone and python-pyelftools are installed, then set PATCH_KRISP=true in $XDG_CONFIG_HOME/discord.conf.
After an update, you'll need to restart Discord once for the patch to apply (Discord downloads Krisp dynamically during startup, so it cannot be patched on the first start).

Please note that to know whether the Krisp binary was patched the script is run on every start of the client that results in slightly longer start times but has the advantage that the package does not have to be updated if Discord ever silently updates the binary between client updates over their modules api.

Latest Comments

1 2 3 4 5 6 .. 44 Next › Last »

DodoGTA commented on 2026-02-02 16:42 (UTC)

@pendo324 Here's the source code for that native module: https://github.com/discord/electron/tree/37-x-y/discord

pendo324 commented on 2026-02-02 16:34 (UTC)

Hey @DodoGTA, can you share more about the "custom (open-source) native Electron video source module" you mentioned? I'm interested in seeing if I can piece anything together to make this work, even if it means building a custom version of electron, or otherwise patching.

DodoGTA commented on 2026-01-11 21:07 (UTC) (edited on 2026-01-11 21:08 (UTC) by DodoGTA)

I did some digging and figured out the cause of those screen share/video crashing issues

It turns out that Discord uses a function from their custom (open-source) native Electron video source module without checking that it exists when using the native (non-WebRTC) video source path (which is always taken on the Discord Electron app)

The questionable code is also inside a downloaded JS bundle (so that limits our options)

So the solutions I can think of for this are:

  1. Convince Discord to add a WebRTC fallback if the function is missing (I don't think that would happen because this is a quite niche Discord use case)

  2. Patch the video source function to always use WebRTC (I think we're getting into Vencord territory with that though)

  3. Reimplement the video source stuff likely without Electron/Chromium internals (this might still require Discord code or Electron modification because Discord's video source module is part of core Electron itself)

AlfElFriki commented on 2025-12-24 18:25 (UTC)

I too have the aforementioned problem concerning a crash when joining a video stream.

zerophase commented on 2025-12-18 09:21 (UTC) (edited on 2025-12-18 19:28 (UTC) by zerophase)

I'm in a discord server with a font that is not loading. I believe it is one of the Frakturs. Fraktur Bold - Gothic style in particular. The other possible font is MATH SANS BOLD.

I tried installing ttf-unifraktur, but that did not work. I can't seem to find a fraktur in any of the Arch repos at all. Might we be missing a font Discord is supposed to package?

I think this might be Discord specific as all of these Discord fonts load fine in the browser, but not in Discord. The fonts below can be used to test.

https://discord-fonts.com/

Lunar commented on 2025-12-03 03:55 (UTC)

Ditto on the streaming problem, still happens

lombervid commented on 2025-11-02 23:01 (UTC)

@andyl98 I'm having the same problem.

heylmfaoim commented on 2025-10-31 04:27 (UTC)

Streaming (viewing streams included) and anytime someone or myself turns on their webcam, discord crashes I do see that this issue has been prominent with this and the quickfix would be switching to the main package Just bumping it nevertheless since it's annoying and this version is much smoother than the other one..

DodoGTA commented on 2025-10-26 10:54 (UTC)

@zerophase That's most likely the special Halloween message sound (unless you're referring to something else)

zerophase commented on 2025-10-25 22:32 (UTC)

Anyone else having an issue with notifications sounding like they're in a tunnel, after the last update? Believe it impacts me when I speak as well. Doesn't impact sounds from other users, though.