Package Details: discord_arch_electron 0.0.78-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: 197
Popularity: 4.19
First Submitted: 2020-05-19 23:51 (UTC)
Last Updated: 2024-12-17 20:22 (UTC)

Dependencies (9)

Required by (25)

Sources (3)

Pinned Comments

SunRed commented on 2024-06-09 20:34 (UTC)

After a chat with @Zoddo and me just taking too long to come back to this, there should everything now be included that was in my old discord-electron package some migrated from (Krisp patcher, Wayland, autostart fix). Additionally I replaced the scrappy rizin patcher with a Python script someone from the nix community kindly made available.
Instead of checking against a checksum 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 we don't have to update the package if Discord ever silently updates the binary between client updates over their modules api.

Cheers

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 .. 11 12 13 14 15 16 17 18 19 20 21 .. 39 Next › Last »

Thaodan commented on 2022-10-30 09:13 (UTC)

@Build in a clean-chroot. Your system wasn't updated completely.

caseyjp1 commented on 2022-10-29 23:49 (UTC)

==> Starting package()... node: error while loading shared libraries: libicui18n.so.71: cannot open shared object file: No such file or directory ==> ERROR: A failure occurred in package(). Aborting... -> error making: discord_arch_electron

Thaodan commented on 2022-10-29 23:42 (UTC)

@Zoddo: Are you fine by adding @Vendicated's hack with a command line flag to activate?

Zoddo commented on 2022-10-29 20:32 (UTC)

Sorry for the delay everyone, I was out last week. Package updated to 0.0.21, and changes suggested by Thaodan implemented.

I haven't included the screenshare fix of Vendicated because it crashed Discord when there is a module update (thanks a lot for it though!) I'll try to work on it and publish a 0.0.21-2 if I can fix this issue.

Thaodan commented on 2022-10-26 16:43 (UTC)

@Zoddo: Would you like to add me as a maintainer for this package and/or include my patch? that I linked down below?

https://gitlab.com/Thaodans-ArchLinux-Packages/discord_arch_electron/-/commit/42271d9739a4f4aeb46d463f88b01f1ab7f536bd

Thaodan commented on 2022-10-26 16:43 (UTC)

Hey,

I've included the preload wrapper hack by @Vendicated in my update to the package here: https://gitlab.com/Thaodans-ArchLinux-Packages/discord_arch_electron https://gitlab.com/Thaodans-ArchLinux-Packages/discord_arch_electron/-/commit/42271d9739a4f4aeb46d463f88b01f1ab7f536bd

@kronikpillow ^

Thaodan commented on 2022-10-26 16:10 (UTC)

@kronikpillow commented on 2022-10-25 11:46 (EEST) the comment by @Vendicated solves the issue ... maybe incoroporate it in the pgkbuild itself so that it would work by default till Discord does bump their Eletron to the latest version

Did the update work for you with the changes applied?

kronikpillow commented on 2022-10-25 08:46 (UTC)

the comment by @Vendicated solves the issue ... maybe incoroporate it in the pgkbuild itself so that it would work by default till Discord does bump their Eletron to the latest version

elppans commented on 2022-10-23 01:00 (UTC)

To work Discord with Wayland, I simply used the flag like this:

--enable-features=UseOzonePlatform
--ozone-platform=wayland
--ignore-gpu-blocklist

Thaodan commented on 2022-10-22 15:07 (UTC)

@Vendicated: The wrapper script only works when your discord was already updated. If it wasn't updated it tries to load discord_desktop_core and fails.