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 .. 15 16 17 18 19 20 21 22 23 24 25 .. 39 Next › Last »

kronikpillow commented on 2022-08-16 23:00 (UTC)

I seem to be unable to move around channels on a server, and even unable to reorganize the order of all my servers with this package ... kind of annoying, I have to reinstall the original Discord package to do reorganization of my servers and server folders, when i join a new server, and then to reinstall this package, to use it with the new order

Zoddo commented on 2022-08-11 09:47 (UTC) (edited on 2022-08-11 09:51 (UTC) by Zoddo)

@Hiru: I'm genuinely interested to know how you managed to get this error. asar is a build dependency, so makepkg should have failed on Checking buildtime dependencies... without the -s flag.

Hiru commented on 2022-08-11 00:00 (UTC) (edited on 2022-08-11 00:07 (UTC) by Hiru)

i'm getting an error when trying to update:


==> Making package: discord_arch_electron 0.0.19-1 (Wed 10 Aug 2022 10:54:16 PM -01)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
/home/user/.cache/yay/discord_arch_electron/PKGBUILD: line 38: asar: command not found
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: discord_arch_electron

edit: solved by manually installing community/asar

Myrdden commented on 2022-08-10 23:17 (UTC)

Electron19 working fine on swaywm with @Nairaner and @Icornos's patch. Have the icon too.

Zoddo commented on 2022-08-08 14:05 (UTC) (edited on 2022-08-08 14:07 (UTC) by Zoddo)

@jnnk: Disable Debug Logging in "Voice & Video" settings: https://wiki.archlinux.org/title/Discord#Discord_spams_systemd_journal

ap-1 commented on 2022-08-08 13:57 (UTC) (edited on 2023-05-28 21:52 (UTC) by ap-1)

@Nairaner and @Icronos's workaround does not seem to work with electron19 using any wlroots-based compositors. Discord only shows the starting spinner and opens a window, but crashes immediately after:

Module ./ElectronTestRpc was not included.
[WebContents] crashed (reason: crashed, exitCode: 139)... reloading
Module ./ElectronTestRpc was not included.
[WebContents] double crashed (reason: crashed, exitCode: 139)... RIP =(

Thaodan commented on 2022-08-03 00:40 (UTC)

With the latest workaround the package even works on the latest version (19). The only downside is that the application has no icon in the taskbar. I tried this on Wayland, KDE.

<deleted-account> commented on 2022-07-18 20:47 (UTC)

Hey!

I recently installed this package and now found my syslog spammed full of this after starting the application (on startup):

Jul 18 22:34:02 larch discord-stable.desktop[3139]: [2022-07-18 22:34:02.498] [3162] (device_info_linux.cc:45): NumberOfDevices Jul 18 22:34:02 larch discord-stable.desktop[3139]: [2022-07-18 22:34:02.610] [3162] (device_info_linux.cc:45): NumberOfDevices Jul 18 22:34:02 larch discord-stable.desktop[3139]: [2022-07-18 22:34:02.611] [3162] (device_info_linux.cc:78): GetDeviceName

Any thoughts?

Greetings

Nairaner commented on 2022-07-01 10:21 (UTC) (edited on 2022-07-01 10:22 (UTC) by Nairaner)

Following @lcronos advice i modified it a little and it to more usable version for packaging. Change in app.asar.unpacked/app_bootstrap/requireNative.js:

module.paths = ["/home/" + process.env.USER + "/.config/discord/0.0.18/modules"];

It works with electron 18, wayland streaming is still broken

DodoGTA commented on 2022-06-27 13:35 (UTC)

I think this is the reason Discord is broken on Electron 17+: https://github.com/electron/electron/issues/33504