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

Zoddo commented on 2022-04-02 15:46 (UTC) (edited on 2022-04-02 15:46 (UTC) by Zoddo)

@johnnyapol: Would you be able to support a "~/.config/discord-flags.conf" file like what electron does [1], but to apply some flags only to discord?

This could be really useful to implement some flags like the ones suggested Neko-san[2] to fix the slow/laggy animations on Discord.

In my case, adding these flags to electron-flags.conf causes other issues, like breaking VS Code.

[1] https://github.com/archlinux/svntogit-community/blob/packages/electron16/trunk/electron-launcher.sh

[2] https://aur.archlinux.org/packages/discord_arch_electron#comment-819244

fitri commented on 2022-03-25 17:48 (UTC)

johnnyapol, please add libxss as runtime dependencies to fix ... Discord installation is corrupt ... banner on x11/xwayland for some versions of electron.

Visne commented on 2022-03-23 15:30 (UTC)

Has anyone gotten notification badges in the KDE toolbar working with this? I read everywhere that you need to install libunity, which I've done, but that doesn't change anything.

Alkaris commented on 2022-03-20 02:58 (UTC) (edited on 2022-03-20 03:54 (UTC) by Alkaris)

This update of Discord is completely broken. 0.0.17 refuses to load anything past the splash screen, and just presented with a blank window screen.

Also has thing when ran in Terminal saying Module ./ElectronTestRpc was not included.

Sukid commented on 2022-03-18 23:48 (UTC)

@stick Electron16 seems to be working for me most of the time, with the occasional hiccup. still might try that.

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.