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 .. 19 20 21 22 23 24 25 26 27 28 29 .. 38 Next › Last »

stick commented on 2022-03-14 16:37 (UTC)

I created a new package for myself; set to depend on electron 13 because even with electron 15 wayland support is broken.

Hopefully I'll be able to request deletion eventually if the discord/electron/wayland bugs get fixed... until then, if anyone else wants it, it's there. It should auto-detect wayland and --enable-features=UseOzonePlatform --ozone-platform=wayland appropriately. Testers wanted :).

discord_arch_electron_wayland

sl1pkn07 commented on 2022-03-14 15:54 (UTC) (edited on 2022-03-14 15:55 (UTC) by sl1pkn07)

@ltara_kitsune build electron15 with ffmpeg4 solve my transmiission issues (without @Kyuunex workground)

Itara_Kitsune commented on 2022-03-12 19:05 (UTC)

@stick: Unfortunately swapping to Electron15 (make sure you change the Depends argument as well if that is what you're wanting to use) does not appear to fix the stream-crash issue. It only fixes the issue @Visne mentioned that crops up for copy/pasting images from some browsers directly into Discord.

stick commented on 2022-03-12 17:44 (UTC) (edited on 2022-03-12 17:44 (UTC) by stick)

@Itara_Kitsune @Visne @mattj I built the package to test with electron15 (because I am having the same watching-a-stream-crashes-discord issue) but that does not fix it.

package() {
...
    echo "exec electron15 /usr/lib/$_pkgname/app.asar \$@" >>"$srcdir"/$_pkgname
...
}

Is there something else I missed to make it run with electron15?

Itara_Kitsune commented on 2022-03-11 20:13 (UTC)

@Visne and @mattj - Yerp, same here. I can broadcast but the moment someone turns on their camera or streams, Discord crashes continually until the feed is shut down.

mattj commented on 2022-03-10 20:25 (UTC)

@Visne also got this - any video stream crashes the client.

Visne commented on 2022-03-10 20:16 (UTC)

Popping out a livestream doesn't seem to work, it just keeps loading.

Visne commented on 2022-03-07 08:58 (UTC)

@Itara_Kitsune Seems like you're right, that fixes it. Can this package be changed to use Electron 15? Or are there specific reasons to use 16?

Itara_Kitsune commented on 2022-03-04 03:16 (UTC) (edited on 2022-03-04 03:17 (UTC) by Itara_Kitsune)

@Visne I have noticed that such functionality affects Brave as well. It does not appear to happen for as long as this package is using Electron 15 - something I noticed when they temporarily set it to use such.

Visne commented on 2022-03-04 00:13 (UTC)

For some reason I can't paste images I copied from Firefox or Chromium into Electron Discord, but I can into the normal Discord. Also, I can paste images from other applications into Electron Discord, and I can paste images from Electron Discord into Electron Discord, and I can paste images from Firefox or Chromium into other applications. So basically, only pasting images from Firefox and Chromium into Discord doesn't work, and all other kinds of pasting work fine. Can anyone reproduce this bug?