@qwerty-space there is a PR open for it, we didn't merge it yet because it's a little hackish: https://github.com/chaotic-aur/pkgbuild-discord-canary-electron-bin/pull/2
Search Criteria
Package Details: discord-canary-electron-bin 0.0.475-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/discord-canary-electron-bin.git (read-only, click to copy) |
---|---|
Package Base: | discord-canary-electron-bin |
Description: | Discord Canary (popular voice + video app) using the system provided electron for increased security and performance |
Upstream URL: | https://canary.discordapp.com |
Keywords: | discord discord-canary electron |
Licenses: | custom |
Conflicts: | discord-canary |
Provides: | discord-canary |
Submitter: | Kodehawa |
Maintainer: | Kodehawa (FivePB, Auxim) |
Last Packager: | Auxim |
Votes: | 35 |
Popularity: | 0.008183 |
First Submitted: | 2020-10-22 03:49 (UTC) |
Last Updated: | 2024-08-22 23:13 (UTC) |
Dependencies (17)
- alsa-lib
- electron29 (electron29-binAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libcups (libcups-gitAUR, cups-gitAUR, libcups-gssapiAUR)
- libnotify (libnotify-gitAUR)
- libxss
- nspr (nspr-hgAUR)
- nss (nss-hgAUR)
- unzip (unzip-natspecAUR, unzip-zstdAUR)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR)
- asar (make)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (optional) – Pulseaudio support
- noto-fonts-cjk (noto-fonts-cjk-vfAUR, noto-fonts-cjk-hk-vfAUR, noto-fonts-cjk-jp-vfAUR, noto-fonts-cjk-kr-vfAUR, noto-fonts-cjk-sc-vfAUR, noto-fonts-cjk-tc-vfAUR, noto-fonts-hk-vfAUR, noto-fonts-jp-vfAUR, noto-fonts-kr-vfAUR, noto-fonts-sc-vfAUR, noto-fonts-tc-vfAUR, otf-noto-sans-cjkAUR, otf-noto-sans-cjk-vfAUR, otf-noto-sans-mono-cjk-vfAUR, otf-noto-serif-cjk-vfAUR, otf-noto-serif-cjkAUR, noto-fonts-cjk-chwsAUR) (optional) – Font for special characters such as /shrug face.
- noto-fonts-emoji (noto-fonts-emoji-gitAUR, noto-fonts-emoji-blobAUR, noto-fonts-emoji-flag-gitAUR) (optional) – Google font for emoji support.
- ttf-symbolaAUR (ttf-symbola-freeAUR) (optional) – Font for emoji support.
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR) (optional) – Open files
Required by (9)
- discord-canary-update-skip-git (requires discord-canary)
- discord-canary-wayland-hook (requires discord-canary)
- jfcord-appimage (requires discord-canary) (optional)
- mbcord-appimage (requires discord-canary) (optional)
- openasar-bin (requires discord-canary) (optional)
- openasar-git (requires discord-canary) (optional)
- powercord-electron-git
- powercord-git (requires discord-canary)
- replugged-electron-git
Sources (4)
PedroHLC commented on 2021-08-28 21:21 (UTC)
Qwerty-Space commented on 2021-08-28 21:17 (UTC)
Just in case anyone else came to this package to try it- Powercord does not work with this package.
Kodehawa commented on 2021-08-28 00:29 (UTC)
Bumped version. Sorry for the delay!
PedroHLC commented on 2021-08-28 00:10 (UTC)
@beyley you can create a ~/.config/electron-flags.conf
and configure it just like chromium-flags.conf
.
One CLI parameter per line.
Sorry guys, can't bump version, I'm not home.
Beyley commented on 2021-08-27 23:40 (UTC)
@PedroHLC, how do i enable Vulkan backend? i cant seem to find anything online, if there is a list of working electron-flags id like to have it so i can tweak it specifically for my system
PedroHLC commented on 2021-07-19 12:18 (UTC)
Hi @m00nw4tch3r, please submit a PR to https://github.com/chaotic-aur/pkgbuild-discord-canary-electron-bin. Once merged, the chaotic-aur bot will upload your commit back here to AUR, with your authorship. (also, bump pkgrel and update .SRCINFO)
PedroHLC commented on 2021-06-21 13:54 (UTC)
I can guarantee that flags (Vulkan backend, accelerated-video, Skia, oop-rasterization, zero-copy, harmony, v8-cache) work. But sadly (at least last time I checked), there is none to enforce pipewire's screen sharing to work.
I imagine we need someone to patch the JS side of this and implement the interface @fine2006 mentioned (something similar was discussed in MS' teams repo), or maybe a flag in the chromium-side to wrap the old screen-sharing to work out-of-box with the new one.
If someone comes with it, feel free to submit a PR to https://github.com/chaotic-aur/pkgbuild-discord-canary-electron-bin and the github-action will resubmit it here once it gets merged.
juxuanu commented on 2021-06-21 13:37 (UTC)
This uses electron, which can be configured with ~/.config/electron-flags.conf the same way you do with chromium-flags.conf
fine2006 commented on 2021-06-21 13:31 (UTC)
@allexj I face the same issue but it seems like discord hasn't implemented org.freedesktop.portal.ScreenCast, which is required for sharing things.
Pinned Comments
Kodehawa commented on 2020-10-22 04:06 (UTC) (edited on 2024-01-04 20:06 (UTC) by Kodehawa)
A shoutout to https://aur.archlinux.org/packages/discord_arch_electron/ (use that one if you want stable instead of canary!) :p
This is just a PKGBUILD based on the original discord-canary PKGBUILD and the discord_arch_electron PKGBUILD to use with Canary instead.
Discord on the latest version uses Electron 22 by itself. Might be worth using the official version if that is what you're after.
!! As Electron 28 joined the official repos, I've pinned this to electron26 instead, as using Electron 28 results on a crash at startup. If it ever works with Electron 28, please let me know.