Hi, thanks @SunRed.
I will see whether to maintain the package in the future; I am currently using the official Discord package to make the video and screen share to work.
If I drop the package in the future, I will mention it.
| Git Clone URL: | https://aur.archlinux.org/discord-electron-openasar.git (read-only, click to copy) |
|---|---|
| Package Base: | discord-electron-openasar |
| Description: | Discord packaged with OpenAsar using system provided electron (v37) for increased security and performance |
| Upstream URL: | https://discord.com |
| Keywords: | discord discord-stable discordapp electron openasar |
| Licenses: | custom |
| Conflicts: | discord |
| Provides: | discord |
| Submitter: | SunRed |
| Maintainer: | ItachiSan |
| Last Packager: | ItachiSan |
| Votes: | 15 |
| Popularity: | 0.27 |
| First Submitted: | 2023-04-03 07:00 (UTC) |
| Last Updated: | 2026-02-11 17:36 (UTC) |
Hi, thanks @SunRed.
I will see whether to maintain the package in the future; I am currently using the official Discord package to make the video and screen share to work.
If I drop the package in the future, I will mention it.
I am going to disown the package what means that @ItachiSan is the new primary maintainer of the package. Feel free to orphan or delete the package if you don't feel like maintaining it either.
Cheers
@ItachiSan That may be due to the same issue why screen sharing doesn't work anymore using the native Electron runtime. I don't have a fix for it at the moment.
Hi everyone, I have the webcam always crashing. Any clue about it? I have a thread open on the forum for it: https://bbs.archlinux.org/viewtopic.php?id=306962
Got the latest update with:
diff --git a/PKGBUILD b/PKGBUILD
index 949fa27..1bc17f5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=discord-electron-openasar
_pkgname=discord
-pkgver=0.0.96+834
+pkgver=0.0.99+834
_pkgver=${pkgver%%+*}
pkgrel=1
_electronver=36
@@ -28,7 +28,7 @@ source=("https://dl.discordapp.net/apps/linux/${_pkgver}/${_pkgname}-${_pkgver}.
'discord-launcher.sh'
'krisp-patcher.py' # original: https://github.com/sersorrel/sys/blob/main/hm/discord/krisp-patcher.py
"git+https://github.com/goosemod/openasar.git#commit=e88eebf440866a06f3eca3b4fe2a8cc07818ee61")
-sha512sums=('77d2fcd98ec9e6ac121eb56ddbe0dedb02211c79d69b345557c030b77f7666c7cb50900cb815a2868f6dbe70cfb3cb2467195404db78b3bb122e9d37baed75ec'
+sha512sums=('7e72dfa63b051a25eeda2939cc494c05eb972c5a429f3feb86acabe88c55c92699e2a90c3bfc508ed37edf132270e1e38169ff4d8cd397eccb0dd50152a169d5'
'd996494c6c606de01814c68954613afc009957ac8a539b4331c87fe40c79927f09470c7e6d8bbc07411413bb91592818c98bcea49972703ec13a2f94efbc488e'
'42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c'
'fc1f6b6d9d306dc1ea0d8c0cc55982eb3f89c17a82ab9af8553c21e034d25367db406edb271177a2ca1dc4e9854074726d27a97930116abb2e193afa3831530f
Sharing applications/screens and watching streams crashes my Discord. What funny is that others can still see what's shared and calls keep working too, but Discord says 'Oops' and show's the 'Reload' button.
@painfularch This is apparently an Electron issue on GNOME https://github.com/electron/electron/issues/46538
I downgraded the Electron version for now again. Sorry for my late response.
I cannot confirm the crash at startup.
latest version crashes on startup with this error message:
(process:115291): Gtk-ERROR **: [redacted for privacy]: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
Is this an upstream problem or a PKGBUILD one?
There seems to be some issue at the moment with screen sharing crashing the frontend by producing a TypeError: window.createDiscordStream is not a function even though screen sharing itself works. This doesn't seem related to OpenAsar or newer Electron versions as using an older Electron version produces the same error as well as using the official asar. I am not sure at this moment this is even resolvable without using Discord's packaged Electron runtime.
Pinned Comments
SunRed commented on 2024-01-04 14:30 (UTC) (edited on 2024-06-10 19:00 (UTC) by SunRed)
Electron flags
These can be set additionally in
~/.config/discord-flags.conf(or wherever your config directory is). Lines can be commented using#.Krisp noise suppression
In order for Krisp to work, it has to be patched first by removing the signature check of the Krisp binary. Install the necessary optional dependencies, set
PATCH_KRISP=truein~/.config/discord.confand restart your Discord client.Please note that 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 the package does not have to be updated if Discord ever silently updates the binary between client updates over their modules api.