Package Details: discord-canary-electron-bin 0.0.475-1

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.007535
First Submitted: 2020-10-22 03:49 (UTC)
Last Updated: 2024-08-22 23:13 (UTC)

Dependencies (17)

Required by (9)

Sources (4)

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.

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 Next › Last »

allexj commented on 2021-05-22 13:20 (UTC) (edited on 2022-02-28 22:15 (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

salad commented on 2021-04-02 15:35 (UTC)

@Seqularise I was able to fix the crashing by passing the following flag to electron: --disable-gpu-memory-buffer-video-frames

Also fixes Chromium issues. My full flags are (not sure if --enable-gpu does anything, haven't tested): --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu-memory-buffer-video-frames --enable-gpu

Seqularise commented on 2021-02-24 21:31 (UTC)

Its crashing kwin-wayland with linux-5.11 I can reproduce this by downgrading\updating kernel

bbaovanc commented on 2021-02-10 23:13 (UTC)

Looks like they added Electron 11.2.3 to the repos. It works now! I might delete the discord-canary-electron10-bin package now.

Kodehawa commented on 2021-02-04 04:03 (UTC)

@sperg512 Ah. It wasn't tagged on electronjs.org. Should've checked github haha

I'll update electron-ozone tomorrow. One less patch to mantain is always good. I guess electron will be updated in the upcoming days on the main repos.

sperg512 commented on 2021-02-04 01:43 (UTC)

@Kodehawa incredible lie https://github.com/electron/electron/releases/tag/v11.2.2

Kodehawa commented on 2021-02-03 18:48 (UTC) (edited on 2021-02-03 18:48 (UTC) by Kodehawa)

@sperg512 11.2.2 hasn't been released yet, sadly. Should be fine once it released. I patched electron-ozone to include a fix. Maybe open a bug report to the arch guys so it could be backported to 11.1.1?

Patch: https://aur.archlinux.org/cgit/aur.git/tree/0001-fix-don-t-throw-on-bad-icons-in-BrowserWindow-constr.patch?h=electron-ozone

sperg512 commented on 2021-02-02 21:25 (UTC) (edited on 2021-02-02 21:28 (UTC) by sperg512)

yeah i was also changing it myself, no worries there.

HOWEVER discord is now being insanely overweight, giving me a segfault when I launch! even after I updated electron and everything! hurray!

edit: actually, that segfault was caused by electron. I thought I had 11.2.2 since that was just released but on further inspection that is not the case.

bbaovanc commented on 2021-01-31 04:26 (UTC)

I created a package named discord-canary-electron10-bin for now which is just this package but with electron10.

Kodehawa commented on 2021-01-29 20:36 (UTC)

@sperg512 Download the PKGBUILD, and change the relevant stuff to what's here: https://aur.archlinux.org/cgit/aur.git/commit/?h=discord_arch_electron&id=430c1ca7b9fdb668a6c18db215b6f6c8f4c1d766

It's not really hard to do, but I do use it with electron 11. Would sort of defeat the purpose of it IMO. I patched the build of electron-ozone with a fix if you're interested so the latest electron-ozone works fine.