Would it be possible to integrate something like https://github.com/flathub/com.discordapp.Discord/pull/155 into this AUR package ?
Search Criteria
Package Details: discord_arch_electron 0.0.75-1
Package Actions
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)
- electron (electron-binAUR)
- libxss
- asar (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- libappindicator-gtk3 (optional) – Systray indicator support
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (optional) – Pulseaudio support
- python-capstone (optional) – Required for Krisp patcher
- python-pyelftools (python-pyelftools-gitAUR) (optional) – Required for Krisp patcher
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR) (optional) – Open files
Required by (25)
- beautiful-discord-git (requires discord)
- cia-accesa (requires discord)
- clonehero-ptb (requires discord) (optional)
- devbook-bin (requires discord)
- discord-update-skip-git (requires discord)
- discordrpc (requires discord) (optional)
- discordupdater (requires discord)
- horizonxi-launcher-bin (requires discord) (optional)
- jfcord-appimage (requires discord) (optional)
- mbcord-appimage (requires discord) (optional)
- open-hexagon-git (requires discord) (optional)
- openasar-bin (requires discord) (optional)
- openasar-git (requires discord) (optional)
- openasar-install (requires discord)
- overlayed (requires discord) (optional)
- overlayed-bin (requires discord) (optional)
- overlayed-git (requires discord) (optional)
- plasticity-bin (requires discord) (optional)
- plasticity-bin-unstable (requires discord) (optional)
- premid (requires discord) (optional)
- Show 5 more...
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 26 27 28 29 30 31 32 33 34 35 36 .. 38 Next › Last »
godvino commented on 2021-07-04 09:57 (UTC)
perigoso commented on 2021-06-21 17:54 (UTC) (edited on 2021-07-01 14:19 (UTC) by perigoso)
I had the same issues as @Friz64, following his fix, i modified the PKGBUILD to use the existing repo pkg electron12, this fixed it without altering/downgrading the system default electron
diff:
14c14
< depends=('electron')
---
> depends=('electron12')
49c49
< echo "exec electron /usr/lib/$_pkgname/app.asar \$@" >> "$srcdir"/$_pkgname
---
> echo "exec electron12 /usr/lib/$_pkgname/app.asar \$@" >> "$srcdir"/$_pkgname
Consider an approach like the vscode package PKGBUILD
with a electron variable _electron=electron12
since this seems to be a recurring issue
I also agree the package should be renamed to discord-electron
Friz64 commented on 2021-06-19 13:21 (UTC)
Arch Linux's update to electron 13 (13.1.2-1) has introduced some issues for me on GNOME/X11/AMD
- Desktop notifications are missing
- The navigation bar on the left has become really laggy
Downgrading to electron 12 seems to solve my issue for now: https://wiki.archlinux.org/title/Downgrading_packages#Using_the_pacman_cache
Sukid commented on 2021-06-19 12:44 (UTC)
Anyone else crashing when trying to run this in Wayland mode?
Kyuunex commented on 2021-05-26 02:42 (UTC)
consider renaming the package to discord-electron
allexj commented on 2021-05-22 13:20 (UTC) (edited on 2022-02-28 22:16 (UTC) by allexj)
in order to be able to share the ENTIRE screen, or to be able to share wayland only (not xwayland) windows it's not enough to have Pipewire installed, because there's one chromium flag to manually enable pipewire support. I don't know how to enable it in this package so I tried it using discord via Google Chrome browser, and enabling "enable-webrtc-pipewire-capturer" flag in chrome://flags, and now it works.
Is there a way to enable this flag in this package without the need to use Google Chrome to be properly share screen?
EDIT: you can do the same thing with Firefox
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):
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.