Package Details: discord_arch_electron 0.0.52-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: 188
Popularity: 4.59
First Submitted: 2020-05-19 23:51 (UTC)
Last Updated: 2024-04-29 21:27 (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 »

DJXJD commented on 2024-03-07 23:17 (UTC) (edited on 2024-03-07 23:56 (UTC) by DJXJD)

As of the latest version, discord launches successfully very infrequently on wayland (outside of xwayland). Using the argument --no-sandbox makes the launch more likely to succeed.

More info: Before the update I was using vencord, and after the update vencord seemed to have been uninstalled. I tried repairing/installing/uninstalling vencord using the cli installer and thats when I started noticing problems. Downgrading to the previous version did not fix the problem. The first run after an upgrade or downgrade seems to always work.

Zoddo commented on 2024-01-24 19:39 (UTC) (edited on 2024-01-24 19:42 (UTC) by Zoddo)

This issue seems to be fixed with electron28.
Sadly we will have to wait until Discord updates their bootstrap code (they access require.main which isn't available anymore since electron switched their entry point to ESM in electron28). I tried to patch it, but they have too many references to require.main to do that easily.

I'll downgrade the package to electron26 for now.

DodoGTA commented on 2024-01-24 06:22 (UTC)

@Zoddo: I'm on Wayland (here's a gdb backtrace: https://pastebin.com/ahJJRKem)

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