Share your ideas for fixing a Vesktop/Vencord shortcuts issue on KDE Neon Wayland

Do you have any idea to fix by myself on my system the issue described in this GitHub issue (since they say that it can’t be fixed on Wayland)? [Feature Request] Custom Keyboard Shortcuts for Wayland Compatibility · Issue #975 · Vencord/Vesktop · GitHub

I’m on KDE Neon with Wayland,
More info:

Neofetch:

OS: KDE neon 6.2 x86_64
Host: Pulse 17 B13VFK REV:1.0
Kernel: 6.8.0-49-generic
Packages: 2617 (dpkg), 21 (flatpak), 7 (snap)
Shell: bash 5.2.21
DE: Plasma 6.2.3
WM: kwin
Theme: Breeze [GTK2/3]
Icons: breeze [GTK2/3]
Terminal: konsole
CPU: 13th Gen Intel i7-13700H (20) @ 4.800GHz
GPU: NVIDIA GeForce RTX 4060 Max-Q / Mobile
GPU: Intel Raptor Lake-P [Iris Xe Graphics]
Memory: 20471MiB / 31794MiB



KDE Infos:

Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.8.0-49-generic (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i7-13700H
Memory: 31.0 Gio of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: Pulse 17 B13VFK
System Version: REV:1.0

I have no knowledge of the depth that would be required to write code enabling new features in an application…but just FYI, in the link you provided, you said the issue for Custom Keybinds in that project’s GitHub project was closed - it’s open, though. Adding new comments is locked for people who are not direct code contributors to the project, presumably because they wanted to avoid having that GitHub issue turn into a general discussion board about the topic of keyboard shortcuts + Discord + Wayland.

Yes you’re right, but i meant by it i couldn’t comment on it :wink:

Apart from that, i just did it by my self:
Enregistrementdcran_20241128_222231-ezgif.com-video-to-gif-converter
And i used KDE custom Shortcut to trigger it:


1 Like

how did you write that script? can you please share it if possible? i think it’s the only valid solution i found online, thanks!

1 Like

I did a github repository of it around the date of my comment above but I never published it because I ended up believing that no one would be interested and that I was the only idiot who wanted this specific feature… So just for you because you seem to really wanting this feature like me, in the next days I’ll publish the repo and comment it back here!

2 Likes

Thank you so much!!!

1 Like

Hi, sorry for the delay, I had some work to do…

Here it is: https://github.com/NitramO-YT/vesktopCustomCommands

Come back to me if you encounter any issue with it, or if you need help or have any request about it! Thanks again for your interest in this project! Feel free to give your feedback or to open an issue to help me improve and maintain this project.

I will try it as soon as I return to home from vacation, thanks again for the effort, I think you should advertise this project on reddit and other forums, maybe the vesktop team can integrate your solution!

1 Like

Thanks a lot, and enjoy your vacation!
You’re very welcome, I shared the project simply because I wanted to, and because no one else had done it yet. Since I use it every day myself, I’ll make sure to keep it updated!

As for promoting it, I’ll think about it, to be honest, I didn’t expect anyone to care about this feature in the first place. But now that the repo is public, anyone is free to share it or contribute if they want to!

I don’t think the Vesktop team will officially integrate my solution though. It’s more of a workaround than a native feature, and it’s not fully universal yet, I use KDE Neon, so I’m not sure how well it works on other systems. Until I get more feedback, I can’t guarantee full compatibility.

Also, the Vesktop devs have made it pretty clear that this kind of feature isn’t a priority for them right now. Without a universal Wayland solution, they don’t plan to move forward, and I’m not the first one to suggest a workaround. That’s actually why I made this project in the first place, otherwise, I probably would’ve just waited.

Feel free to reach me back when you are ready, have a great day! :slight_smile: