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 .. 11 12 13 14 15 16 17 18 19 20 21 .. 38 Next › Last »

Thaodan commented on 2022-10-26 16:43 (UTC)

Hey,

I've included the preload wrapper hack by @Vendicated in my update to the package here: https://gitlab.com/Thaodans-ArchLinux-Packages/discord_arch_electron https://gitlab.com/Thaodans-ArchLinux-Packages/discord_arch_electron/-/commit/42271d9739a4f4aeb46d463f88b01f1ab7f536bd

@kronikpillow ^

Thaodan commented on 2022-10-26 16:10 (UTC)

@kronikpillow commented on 2022-10-25 11:46 (EEST) the comment by @Vendicated solves the issue ... maybe incoroporate it in the pgkbuild itself so that it would work by default till Discord does bump their Eletron to the latest version

Did the update work for you with the changes applied?

kronikpillow commented on 2022-10-25 08:46 (UTC)

the comment by @Vendicated solves the issue ... maybe incoroporate it in the pgkbuild itself so that it would work by default till Discord does bump their Eletron to the latest version

elppans commented on 2022-10-23 01:00 (UTC)

To work Discord with Wayland, I simply used the flag like this:

--enable-features=UseOzonePlatform
--ozone-platform=wayland
--ignore-gpu-blocklist

Thaodan commented on 2022-10-22 15:07 (UTC)

@Vendicated: The wrapper script only works when your discord was already updated. If it wasn't updated it tries to load discord_desktop_core and fails.

roberthawdon commented on 2022-10-22 11:17 (UTC)

Here's the diff for the impatient:

diff --git a/PKGBUILD b/PKGBUILD
index fe012c2..74bff3e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 # Based off the discord community repo PKGBUILD by Filipe Laíns (FFY00) <lains@archlinux.org>
 pkgname=discord_arch_electron
 _pkgname=discord
-pkgver=0.0.20
+pkgver=0.0.21
 pkgrel=1
 pkgdesc="Discord (popular voice + video app) using the system provided electron for increased security and performance"
 arch=('x86_64')
@@ -20,7 +20,7 @@ source=("https://dl.discordapp.net/apps/linux/$pkgver/$_pkgname-$pkgver.tar.gz"
         'discord-launcher.sh'
         'LICENSE.html::https://discordapp.com/terms'
         'OSS-LICENSES.html::https://discordapp.com/licenses')
-sha512sums=('720bc8a8b61cbbe3566c34065f9831571da121d210e3f2876c34cb964d60bab33f8dc16f7ca758e918cd8f35a69699c0b9063782e6c95087c0baa41a6d0e7cf5'
+sha512sums=('149ae5b8b7d92549e12eca52e45d3f5761ef022ae321cf33fadc3b56c4cee0616a5166380faea038256213713a7aa90e1befc4caa3e6a4de8e15c1cb1d8f925d'
             '93418d8e40cab7ed25f6debc341294f76f90a4f879e158cfea418360c8705347653f60dbd6f18fb754448d299404bfa247b07625ae113e9386188d9f9485a14b'
             SKIP
             SKIP)

kronikpillow commented on 2022-10-10 17:47 (UTC)

when trying to stream on a voice channel, it says Select something to stream and ahve your friends grag a seat! and the loading icon, is loading forever, but never gives me the option to pick my source of the stream

Alexankitty commented on 2022-10-07 00:17 (UTC)

Can we please get libxss added as a dependency for this package? Did a clean install and this didn't get installed so discord complains about the install being corrupt until it's been added. The one I installed is libxss-1.2.3.4 identical to the version of discord on the arch package repository.

elemelo99 commented on 2022-10-04 09:41 (UTC)

on the latest version it crashes whenever a videocall is started.

Vendicated commented on 2022-10-01 16:09 (UTC) (edited on 2022-10-01 16:39 (UTC) by Vendicated)

Workaround for the streaming issue:

inside /usr/lib/discord

sudo mv app.asar _app.asar
sudo mv app.asar.unpacked _app.asar.unpacked
sudo mkdir app.asar

Now create the following three files in the app.asar folder: https://gist.github.com/Vendicated/5e5eee64348ee936349367fe7cedd8c3

This patch also sets sandbox to false, meaning it should work on Electron 20-22