What I've done instead is configured a desktop hotkey that toggles the system-level microphone mute. Two birds with one stone: foolproof PTT and on the same hotkey regardless of Zoom/Meet/Teams/Slack/Discord (consulting is fun)
My sticking point with Discord in particular is that, at the moment, it's allergic to file drag and drop under Wayland. If I want to drag and drop a file attachment, I have to open the file explorer dialog and drag onto that.
This is more of a Discord being sluggish to update problem than a Wayland being unstable problem, but it's still extremely irritating.
In the meantime (how many years did it take Discord to update their electron to a not-quite-as-ancient version the last time?), one thing I'd like to see here would be the option to allow listening to global keypresses for certain apps. Yes, that makes security slightly worse I guess but I'd rather have all the other benefits of Wayland working for me while this one isn't working yet.
I don't get a chance to use Wayland too much (Nvidia sadly), but I swear I had heard KDE came up with something for this. I believe it was if you use non-alphanumeric keys, it's supposed to allow it (because you wouldn't use those in say, a password).
However, I can't confirm this - nor can I confirm if it'd work with Discord specifically.
My only issue with it currently is global hot keys. Push-to-talk on discord only seem to work when a xwayland window is in focus.
What I've done instead is configured a desktop hotkey that toggles the system-level microphone mute. Two birds with one stone: foolproof PTT and on the same hotkey regardless of Zoom/Meet/Teams/Slack/Discord (consulting is fun)
My sticking point with Discord in particular is that, at the moment, it's allergic to file drag and drop under Wayland. If I want to drag and drop a file attachment, I have to open the file explorer dialog and drag onto that.
This is more of a Discord being sluggish to update problem than a Wayland being unstable problem, but it's still extremely irritating.
The API exists, just waiting for things to catch up.
In the meantime (how many years did it take Discord to update their electron to a not-quite-as-ancient version the last time?), one thing I'd like to see here would be the option to allow listening to global keypresses for certain apps. Yes, that makes security slightly worse I guess but I'd rather have all the other benefits of Wayland working for me while this one isn't working yet.
I don't get a chance to use Wayland too much (Nvidia sadly), but I swear I had heard KDE came up with something for this. I believe it was if you use non-alphanumeric keys, it's supposed to allow it (because you wouldn't use those in say, a password).
However, I can't confirm this - nor can I confirm if it'd work with Discord specifically.
If you use arch, there is
discord_arch_electron
which can build with the latest electronI use WebCord though
I'm also annoyed with the global key issue, but for Discord, I just set a key to mute my mic system wide.
This is a hack at best and might even get you banned.