Waiting update for 0.0.25 :
Package : https://transfert.free.fr/GUr5fg
Git Clone URL: | https://aur.archlinux.org/discord_arch_electron.git (read-only, click to copy) |
---|---|
Package Base: | discord_arch_electron |
Description: | Discord (popular voice + video app) using the 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: | 189 |
Popularity: | 5.20 |
First Submitted: | 2020-05-19 23:51 (UTC) |
Last Updated: | 2024-05-06 19:01 (UTC) |
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 35 Next › Last »
Waiting update for 0.0.25 :
Package : https://transfert.free.fr/GUr5fg
I tried to fiddle around with the same package on OpenSUSE. I found out that if would use openasar that the package works fine with the latest Electron. Need to check video streaming and so on thou.
@gudvinr That's a problem of Electron and is already fixed on Electron >= 20.
No way to fix crashes on streams / camera. Tried various versions of electron.
I have created a Proof Of Concept .so that patches the krisp binary at runtime to work with discord_arch_electron I used a technique that's rather version-change proof so it shouldn't need updates that often.
Unfortunately, Discord reverted back their official build to electron13. I hope this is only temporary. The few tests I did while on 0.0.23 showed that Discord still doesn't start on electron20+, and watching streams still causes core dumps, but I didn't have the time to investigate deeper.
Discord 0.0.24 is out. Here is the diff. This is my first post, sorry if there are errors. It worked for me.
➜ discord_arch_electron git:(master) ✗ git diff --no-color --no-prefix --cached
diff --git PKGBUILD PKGBUILD
index 50e4989..eae33c8 100644
--- PKGBUILD
+++ PKGBUILD
@@ -6,7 +6,7 @@
_pkgname=discord
_electron=electron19
pkgname=${_pkgname}_arch_electron
-pkgver=0.0.23
+pkgver=0.0.24
pkgrel=1
pkgdesc="Discord (popular voice + video app) using the system provided electron for increased security and performance"
arch=('x86_64')
@@ -23,10 +23,10 @@ source=("https://dl.discordapp.net/apps/linux/$pkgver/$_pkgname-$pkgver.tar.gz"
'discord-launcher.sh'
'LICENSE.html::https://discord.com/terms'
'OSS-LICENSES.html::https://discord.com/licenses')
-sha512sums=('d03b27180c95ca74c93323090ce5c1e4351577d27184cfbf5525439052505ba198fafbd4b1489f97ce4c103bc35d1cfb4cdb1c32fc9c80bc55e2373b7a894a39'
+sha512sums=('9e1aa15bc1b1d8ebd2819ba88e7c012c47966d7f150264e732c849d4f15023729f8de4e5a5eb999603fa6102a02313dbf7d178b33cfacca58018dcd214ed4e40'
'6ca6dfbfb65bf4fec34aac4676f66bb602b5c4c3318fcc96236056d632c0c9af3c4eb775b491c2e722ed5de6a4c253677d6ee1a7be69e13045702fa3df8cf52f'
- SKIP
- SKIP)
+ '4be7cf0901f0235a5a90ffa29a5a4a33935459ebbf706f5fe2ad82a1af927deb589bdade9aedb980b8f6190809d3609b69c0fa5c8c2be420b48f858ee485100e'
+ 'b667fdcfa9ffc767f91c995ce220da2fdfd096d96a2830dd035d276ea0deb19382e4691a93a6bb5906ca39af06d3f9eb60acaeef026c96282d6e8f987ac4d8db')
prepare() {
sed -i "s|@PKGNAME@|${_pkgname}|;s|@ELECTRON@|${_electron}|" discord-launcher.sh
Official Stable discord is now at electron 17, I will make some checks soon
Under wayland discord has window class (app ID, to be exact) "Electron". Which leads to issues like this one: https://bugs.kde.org/show_bug.cgi?id=453374
This does not happen with regular discord package but it's not clear if that's the issue with discord, electron, or something else.
@Zoddo I tried downgrading to Electron 16 with the method you provided but it didn't fix the issue.
Pinned Comments
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):
Starting with 0.0.20-1 (2022-09-15):
$XDG_CONFIG_HOME/discord-flags.conf
: this works likeelectron-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.