Package Details: discord_arch_electron 0.0.75-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: 195
Popularity: 5.09
First Submitted: 2020-05-19 23:51 (UTC)
Last Updated: 2024-11-19 19:20 (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 .. 20 21 22 23 24 25 26 27 28 29 30 .. 38 Next › Last »

sl1pkn07 commented on 2022-03-03 21:22 (UTC)

@Kyuunex thanks for the workground

allexj commented on 2022-02-28 22:16 (UTC)

it's absurd that Discord team hasn't implemented screen share under Wayland yet. What a negligence

vibhas77 commented on 2022-02-28 20:03 (UTC)

Getting the Error: Cannot find module 'discord_desktop_core',

@Ghosthree3 's comment to change the /usr/bin/discord to use electron15 instead of electron worked for me.

Ghosthree3 commented on 2022-02-28 13:30 (UTC)

@HunabKu that is absolutely horrific, do not do that. Just have electron15 or electron16 installed and edit the mention of it in /usr/bin/discord, so that it says exec electron15 or exec electron16 instead of just exec electron.

You could also edit the PKGBUILD to depend on electron15 or electron16 instead of electron and change line 49 to use said version instead then build and install it, but I couldn't be bothered. I already had electron15 installed for something else so I just changed the /usr/bin/discord wrapper to use it until this package gets fixed (again).

HunabKu commented on 2022-02-28 07:00 (UTC) (edited on 2022-03-02 05:12 (UTC) by HunabKu)

Confirmed works with :

sudo pacman -Rcsn electron

sudo pacman -S electron16

sudo ln /usr/bin/electron16 /usr/bin/electron

git clone https://aur.archlinux.org/discord_arch_electron

cd discord_arch_electron

replace 'electron' by 'electron16' in PKGBUILD file

makepkg -si

cd ..

rm -rf discord_arch_electron

zangoku commented on 2022-02-27 23:55 (UTC)

A fatal javascript error occured when launching discord.

SunRed commented on 2022-02-27 17:20 (UTC)

This package should depend on electron16 (and better yet back to electron15 since 16 breaks wayland support for discord) instead of electron.

Zoddo commented on 2022-02-27 17:19 (UTC)

I can confirm what Spixmaster experienced. Using electron16 fixes the issue.

Spixmaster commented on 2022-02-27 15:20 (UTC)

With electron version 17.1.0, Discord crashes immediately with error Error: Cannot find module 'discord_desktop_core'.

Kyuunex commented on 2022-02-25 10:44 (UTC)

those who are getting crashes when trying to watch Go Live streams, can disable "OpenH264" setting in "Voice & Video" section to fix it.