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 .. 22 23 24 25 26 27 28 29 30 31 32 .. 39 Next › Last »

wertercatt commented on 2022-02-19 22:29 (UTC)

This package shouldn't depend on 'electron' if it requires 'electron15.'

Saancreed commented on 2022-02-19 13:37 (UTC)

@mattrick I think it's because Discord doesn't like ffmpeg 5.0, downgrading Electron to previous version (from before ffmpeg 5.0 rebuild, electron-16.0.8-1 or electron15-15.3.7-1 depending on which one you use) should fix it for now, just make sure you also have ffmpeg4.4 package installed.

mattrick commented on 2022-02-19 06:46 (UTC)

Is anyone else having issues with joining screen shares crashing Discord on the 0.0.17 version? This is the error I get:

Failed to get crash dump id.
Report Id: 3cb0a024-eb01-4d
[WebContents] crashed (reason: crashed, exitCode: 139)... reloading
Module ./ElectronTestRpc was not included.

CareAgain commented on 2022-02-18 19:58 (UTC)

@Sukid If I add --disable-gpu-memory-buffer-video-frames along with --enable-features=UseOzonePlatform and --enable-features=UseOzonePlatform then it seems to stop crashing. So worth a shot.

Sukid commented on 2022-02-18 18:43 (UTC)

@mattj I still get segfaults often when using both the ozone wayland flags and hardware acceleration flags. ... although sometimes it doesn't segfault and I'm having trouble finding what the cause of that is.

JonathanB commented on 2022-02-18 18:20 (UTC)

The patch below forgets to reset the pkgrel to 1. Other than that, works great!

Riedler commented on 2022-02-18 11:56 (UTC) (edited on 2022-02-18 12:13 (UTC) by Riedler)

update the version to 0.0.17 and the sha512sum to 728c760f04770b197635d1fc1a2833c707ab462708cc0bf6fb165691c1375e14e3192f3806d3719325790459b39bd3425f5942d69a53019695f02c965214a5c9 to update the package please. I've tested it & it runs just as fine as before with those changes.

Also, electron 16 could be used as well. Works for me.

bu.domino commented on 2022-02-18 09:30 (UTC) (edited on 2022-02-18 09:49 (UTC) by bu.domino)

To those who don't know how to apply patches, just change the lines manually.

mattj commented on 2022-02-18 00:54 (UTC)

I'm not sure if it was the 0.0.17 update (with the below patch) that fixed it, but Ozone Wayland flags are now working again.

fosskers commented on 2022-02-18 00:12 (UTC) (edited on 2022-02-18 00:12 (UTC) by fosskers)

The patch worked like a charm, thanks.