Input Simulation (Bazzite-KDE Plasma 6-Wayland-RPM)
Yet another IS post 🫶
I am currently trying to get [k(Alt,p),k(F12,p),k(F12,r),k(Alt,r)] to run. I've tested F12 in browser as inspect element, [k(F12,p),k(F12,r)] works, k(F12,c) does not. Globally F12 doesn't work - for example if I hold Alt manually then use my F12 button on opendeck does not trigger my gpu screen recorder hotkey however [k(Alt,p),k(Alt,r)] will trigger when testing by itself on my browser.
Looking at Enigo github could I be missing dependencies or permissions? I ran their "example" code as well, Everything worked including ctrl+a select all.
I have also noticed that at times when editing the script in opendeck i've had to terminate and relaunch opendeck to get the buttons to function on testing.



5 Replies
So, first thing, the screenshot you sent of your IS settings has a typo, there's a missing comma, could that be the issue?
Secondly, about
p, r
working and c
not working, I'd already discovered that and reported it as 'Issue 4' on an enigo issue, this is pentamassiv's response as to why it happens: https://github.com/enigo-rs/enigo/issues/453#issuecomment-3215938364 and here's a tracking issue: https://github.com/enigo-rs/enigo/issues/464
Third of all, about having to terminate and relaunch OpenDeck, could you send over the Starter Pack plugin logs instead of the main OpenDeck log?
I think that I need to separate Input Simulation out into a separate plugin, and then have different downloads for the plugin based on X11/Wayland (and one for Windows/macOS)
Kinda crazy that it's coming to that but this library absolutely does not work with multiple features enabled...Looks like it's using x11 from the logs
As for the typo, I fixed it, I re-wrote the line like 12 different ways trying to throw different variations at the wall to see what would stick lol. I tried changing the keybind for gpu screen record to Ctrl+F12 too, no juice on changing IS to match that.
I guess I also have the double command issue too, tested uni('a') and I see it inputting a twice. bummer
If that's the case as I understand may be out of your control, do you have any suggestions as how I may make macros outside of opendeck via .sh or something and somehow launch them through the deck?
Uhh, I found this
https://github.com/meeuw/injectinput
GitHub
GitHub - meeuw/injectinput: Simple script to replace xdotool when u...
Simple script to replace xdotool when using Gnome/Wayland for entering keystrokes using evdev. This requires root. - meeuw/injectinput
You could look for something that uses libei
Or ask chatgpt