-
Intoxx,
Thank you for your extensive response.
After making this post I did look into how to resolve this myself and have been switching between trying to research how I can get Xdotool to work and switching between how I can get ISBoxer running on my Distro under Wine.
As a result I have a much better understanding of how X11 is handling these events from my research and for a short while I did try playing with xdotool and WoW with the virtual desktop enabled However I wasn't successful at the time and didn't really spend much time checking it, as it was just guess work and I had no supporting information indicating that it would work.
However now revisiting this, I've released why it wasn't working during my quick test.
Previously I was using a command such as: xdotool search --name "WineDesktop" key 1. Something that according to the docs should send a key to all windows with the name. I assumed that would work because xdotool search --name "WineDesktop and xdotool selectwindow returned the same ID, so it would be the correct window.
However after testing now, that wasn't working and so the solution I have found is using something like this:
xdotool key --window $(xdotool search --pid $(pidof WoW.exe)) 1
Maybe there is a more simple command but this does at least work so it's something I can refine.
Currently I'm using my own small python project for key detection rather xkeybinds along with other small features that I've added for some quality of life improvements. Ofc it would be better in C for such an app but I just don't have a good enough knowledge yet of linux for something more low level. I would be interested through in checking this out, if your project is on Github?
Thank you for taking the time to create your post, it has been very helpful, best regards.
LightWrath
Last edited by LightWrath : 03-15-2019 at 09:38 PM
Tags for this Thread
Posting Rules
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Connect With Us