Package Details: discord_arch_electron 0.0.47-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: 184
Popularity: 3.29
First Submitted: 2020-05-19 23:51 (UTC)
Last Updated: 2024-03-25 19:23 (UTC)

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 8 9 10 .. 34 Next › Last »

<deleted-account> commented on 2023-07-04 20:02 (UTC)

@SunRed thanks for letting me what's the cause. Figured out how to build it with electron22 and it works now. Thank you!

SunRed commented on 2023-07-04 19:48 (UTC)

@Smokus This happens when running Discord with an Electron version > 22. I suggest pinning this package to electron22 instead of using electron as a dependency.

<deleted-account> commented on 2023-07-04 19:20 (UTC)

Discord crashes as soon as I click on the "Share Your Screen" button. Terminal spits this error when the crash occurs:

ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
zsh: segmentation fault (core dumped)  discord

pure5665 commented on 2023-06-28 21:01 (UTC) (edited on 2023-06-28 21:02 (UTC) by pure5665)

@Zoddo, you're right. I froze electron updates since it broke hardware acceleration for me, seems like it's working again. Thank you.

Okay seems like hardware acceleration is still not working properly, I use those command flags, any recommendations? flags: --no-sandbox --ignore-gpu-blocklist -disable-features=UseOzonePlatform --use-gl=desktop --enable-gpu-rasterization --enable-zero-copy --enable-blink-features=MiddleClickAutoscroll

Zoddo commented on 2023-06-28 20:58 (UTC)

@pure5665: Make sure that electron got updated at the same time.

The rebuild of electron got pushed to the repo a few minutes after icu... https://archlinux.org/packages/extra/x86_64/electron25/

pure5665 commented on 2023-06-28 20:52 (UTC)

@Zoddo icu just got a new update and it does look like that discord_arch_electron doesn't work with the 73.2.1 version.

Error: /usr/lib/electron/electron: error while loading shared libraries: libicui18n.so.72: cannot open shared object file: No such file or directory

Thank you for this software

Zoddo commented on 2023-06-25 14:16 (UTC)

@tee: The discord.desktop file already includes the Icon=discord line. As per the freedesktop.org standard, your DE should search the icon in a set of directories, including /usr/share/pixmaps/ (where this package drops the icon).

If this doesn't work, something is broken in your system. And you'll likely have the issue with many other applications because most apps in the repos only include the icon name in their .desktop file.

tee commented on 2023-06-25 07:54 (UTC)

Can you add 'Icon=/usr/share/pixmaps/discord.png' to discord.desktop? That way the icon shows up properly for thisapp.

Thaodan commented on 2023-06-23 18:09 (UTC)

Another option is to use canary which works with the latest electron.

ardishco commented on 2023-06-23 15:59 (UTC)

How do you get it to run with Electron 24? @a172 ?

I would love to know how you can do that