Package Details: discord_arch_electron 0.0.51-1

Git Clone URL: https://aur.archlinux.org/discord_arch_electron.git (read-only, click to copy)
Package Base: discord_arch_electron
Description: Discord (popular voice + video app) using the 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)
Last Packager: Zoddo
Votes: 189
Popularity: 5.73
First Submitted: 2020-05-19 23:51 (UTC)
Last Updated: 2024-04-23 16:07 (UTC)

Dependencies (5)

Required by (21)

Sources (4)

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 .. 35 Next › Last »

Zoddo commented on 2024-01-23 19:29 (UTC)

@DodoGTA: Interesting, I don't repro. Are you on X11 or Wayland? Do you have the exact error at hand?

DodoGTA commented on 2024-01-23 15:20 (UTC)

It looks like Discord has to be downgraded to electron26 (27 crashes after some time with some ANGLE error and 28 doesn't work at all likely because of some ESM thing)

StarterX4 commented on 2023-11-23 04:22 (UTC)

Sometimes it doesn't crash and I can successfully choose a window/screen, but it's loading forever.

StarterX4 commented on 2023-11-23 04:17 (UTC)

Works for me on Wayland, but crashes when I try to screenshare (KDE Plasma 5, XDG-Desktop-Portal window opens for like a second and Discord crashes). Screenshares work fine when I switch to electron22 in /bin/discord, even through xwaylandvideobridge.

Zoddo commented on 2023-11-13 21:11 (UTC)

@ItachiSan: Thanks for the reminder. I'm a bit blind currently as I don't use wayland on my machine, and I need to rebuild my test environment. I've reverted the package to electron24 for now, and will investigate once I can test on wayland again :)

ItachiSan commented on 2023-11-13 21:02 (UTC)

@Zoddo & @Thaodan: I am following up my previous message regarding Wayland support.

Discord works with Electron 25 on XWayland but not Wayland. Discord works with Electron 24 on both XWayland and pure Wayland. I would suggest using Electron 24 for the time being. Let me know if you want anything for troubleshooting :)

latteisnotcoffee commented on 2023-11-12 18:21 (UTC)

Just wanted to come in and say thank you <3

This has solved the scrolling issues I've had for years and keeps forcing me to go back to Windows every now and then when I get fed up of it

Thaodan commented on 2023-11-07 15:07 (UTC)

@ItachiSan: Or the other way around the wrapper script discord-flags.conf is redundant if the flags apply to discord.

ItachiSan commented on 2023-11-06 21:05 (UTC) (edited on 2023-11-07 09:33 (UTC) by ItachiSan)

Hi, I would recommend to call the Electron binary rather than the Arch wrapper script.

Namely instead of:

exec /usr/bin/${electron} /usr/share/${name}/resources/app.asar "${flags[@]}" "$@"

It is better to do:

exec /usr/lib/${electron}/electron /usr/share/${name}/resources/app.asar "${flags[@]}" "$@"

Because otherwise both the flags from discord-flags.conf and {electron}-flags.conf get read.

This caused my Discord to crash when I created my electron25-flags.conf as Wayland flags do not work with it.

EDIT 1 Electron 24 works with no issues with Wayland flags. I recommend using that instead.

EDIT 2 Electron 24 works also with the Discord app 0.0.34.

SunRed commented on 2023-10-31 18:22 (UTC)

@reeeeeeeeeeelity Sorry but before taking my changes I would kindly ask to just merge this entire package into discord-electron as it would otherwise be the exact same package at that point.