Package Details: discord-canary-wayland-hook 3-1

Git Clone URL: https://aur.archlinux.org/discord-canary-wayland-hook.git (read-only, click to copy)
Package Base: discord-canary-wayland-hook
Description: Pacman hook to change discord-canary to start with ozone-platform-hint=auto after install or upgrade.
Upstream URL: None
Licenses: MIT
Submitter: dhruvasambrani
Maintainer: dhruvasambrani
Last Packager: dhruvasambrani
Votes: 2
Popularity: 0.161956
First Submitted: 2024-02-14 15:22 (UTC)
Last Updated: 2024-07-01 11:02 (UTC)

Latest Comments

ThePirate42 commented on 2024-06-29 15:06 (UTC)

You can slightly improve this by adding an exec before the command (so that there isn't a superfluous shell process left behind) and by adding "$@" as an argument so that additional shell arguments get forwarded to discord. It should look like this:

#!/bin/sh

exec /opt/discord-canary/DiscordCanary --ozone-platform-hint=auto "$@"

NullPointr commented on 2024-04-16 23:23 (UTC)

@dhruvasambrani Awesome, it works now 👍

dhruvasambrani commented on 2024-04-16 13:07 (UTC)

@NullPointr, fixed. Hook now adds the shebang by default

NullPointr commented on 2024-04-15 17:40 (UTC)

This won't work as is on KDE Plasma 6 unfortunately, works flawless on GNOME though. Got to work by manually editing the newly created file /usr/bin/discord-canary and adding the shebang #!/bin/bash