From 31fa60ddbd771c1ff5b397012a0907372ce59c28 Mon Sep 17 00:00:00 2001 From: nnra <104775644+nnra6864@users.noreply.github.com> Date: Wed, 15 Jan 2025 19:22:56 +0100 Subject: [PATCH] FAQ: add fix for Discord binds not working (#947) --- pages/FAQ/_index.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pages/FAQ/_index.md b/pages/FAQ/_index.md index 40701c0..9ba7f94 100644 --- a/pages/FAQ/_index.md +++ b/pages/FAQ/_index.md @@ -435,3 +435,17 @@ This is a side effect of the [decoration:blur:new_optimizations](../Configuring/ You have two options to resolve it. 1. Set `decoration:blur:new_optimizations` to `false` - This will preserve the exact same appearance, but may have a slight performance cost. 2. Set `decoration:blur:ignore_opacity` to `false` - This will drastically affect the appearance, but should maintain the original performance. + +### I can't create Discord binds + +You most likely have `env = ELECTRON_OZONE_PLATFORM_HINT, wayland` in your config. + +Try running Discord like this `ELECTRON_OZONE_PLATFORM_HINT= discord`. + +{{< callout >}} + +Keep in mind that this will run Discord under XWayland. + +{{< /callout >}} + +If it works, navigate to the Discord desktop entry (usually located in `/usr/share/applications/`). Duplicate it and replace `Exec=/usr/bin/discord` with `Exec=env ELECTRON_OZONE_PLATFORM_HINT= /usr/bin/discord`. You can also give it a new name, e.g. `Name=DiscordX`, to avoid confusion as to which is which.