Package Details: discord_arch_electron 1:0.0.98-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 (Thaodan, SunRed)
Last Packager: Zoddo
Votes: 199
Popularity: 1.63
First Submitted: 2020-05-19 23:51 (UTC)
Last Updated: 2025-06-17 18:12 (UTC)

Dependencies (8)

Required by (28)

Sources (3)

Pinned Comments

Zoddo commented on 2022-09-15 17:54 (UTC) (edited on 2023-03-31 17:24 (UTC) by Zoddo)

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.

Krisp not working
This is an issue that will likely never be fixed for this package. The Krisp module checks if Discord binaries are signed by Discord, which is not the case with this package.
See this comment and this GitHub issue for more details and possibles workarounds.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 41 Next › Last »

jay-sh commented on 2025-04-09 08:44 (UTC)

Been a week now since this update, and it keeps crashing on viewing or starting a screenshare as the previous comment by fouilliez mentioned. GNOME Wayland on Arch.

Not a portals issue as it occurs when viewing a stream as well. Error:

sentry.9c313d319fc131a1.js:14 TypeError: window.createDiscordStream is not a function at new p (web.c51206ab4b9e1685.js:12:10128532) at m (web.c51206ab4b9e1685.js:12:10128617) at web.c51206ab4b9e1685.js:12:10130649 at sn (web.c51206ab4b9e1685.js:12:1179733) at lf (web.c51206ab4b9e1685.js:12:1197761) at s8 (web.c51206ab4b9e1685.js:12:1191939) at ib (web.c51206ab4b9e1685.js:12:1131000) at ld (web.c51206ab4b9e1685.js:12:1196615) at lu (web.c51206ab4b9e1685.js:12:1195580) at s2 (web.c51206ab4b9e1685.js:12:1190525) at I (web.c51206ab4b9e1685.js:12:1328773) at P (web.c51206ab4b9e1685.js:12:1329303) at web.c51206ab4b9e1685.js:12:11305856 at R (web.c51206ab4b9e1685.js:12:11305625)

fouilliez commented on 2025-04-01 18:56 (UTC)

With today's update Discord is crashing when I watch a stream or start a stream.

The main window says:

Looks like Discord crashed unexpectedly.

The console says:

TypeError: window.createDiscordStream is not a function

I'm on Wayland / Sway. Still happens with empty configuration files.

scrykita commented on 2025-01-28 21:25 (UTC)

You can temporarily load discord without updating by adding this line to your ~/.config/discord/settings.json

"SKIP_HOST_UPDATE": true,

Ph_rel commented on 2025-01-28 09:14 (UTC)

Please may you update to v0.0.82 ?

SunRed commented on 2025-01-15 17:42 (UTC)

@b4shful This issue is fixed with asar version 3.2.18-2.

DodoGTA commented on 2025-01-15 13:51 (UTC) (edited on 2025-01-15 13:51 (UTC) by DodoGTA)

@b4shful It's definitely the asar package itself (because there was a packaging step missing after the program was migrated to TypeScript)

b4shful commented on 2025-01-15 13:25 (UTC) (edited on 2025-01-15 13:27 (UTC) by b4shful)

Getting a build error after the asar package in the Extra repo was updated to 3.2.18-1 (released 2 hours ago at the time of this post).

node:internal/modules/cjs/loader:1244
  throw err;
  ^

Error: Cannot find module '../lib/asar'
Require stack:
- /usr/lib/node_modules/@electron/asar/bin/asar.js
    at Function._resolveFilename (node:internal/modules/cjs/loader:1241:15)
    at Function._load (node:internal/modules/cjs/loader:1066:27)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
    at Module.require (node:internal/modules/cjs/loader:1327:12)
    at require (node:internal/modules/helpers:136:16)
    at Object.<anonymous> (/usr/lib/node_modules/@electron/asar/bin/asar.js:15:12)
    at Module._compile (node:internal/modules/cjs/loader:1566:14)
    at Object..js (node:internal/modules/cjs/loader:1718:10)
    at Module.load (node:internal/modules/cjs/loader:1305:32) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/usr/lib/node_modules/@electron/asar/bin/asar.js' ]
}

Node.js v23.4.0
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: discord_arch_electron-exit status 4

I worked around this in the meantime by downgrading asar to the previous version (3.2.8-1). Not sure if the issue lies with the asar package or this AUR package, but wanted to mention it here just in case.

Haven't looked into it too deeply, but that asar version bump in the Arch repos from 3.2.8 to 3.2.18 seems mighty large, so perhaps there's some slight breaking change there.

mihalycsaba commented on 2025-01-11 18:24 (UTC)

I can't resize the window on gnome wayland.