I've noticed that when I use the "emulate a virtual desktop" option under the graphics tab in winecfg, the games I've run consider themselves to have focus at all times whether or not I actually have them in focus.
Is there a way to do this without using that setting such that I can avoid all the weirdness with resizing windows? Not having that checked, the game windows detect that they've lost focus and begin ignoring keyevents from xdotool.
Keep windows active without emulating virtual desktop
-
- Newbie
- Posts: 1
- Joined: Mon Jun 12, 2017 7:32 pm
Re: Keep windows active without emulating virtual desktop
I gather that using xdotool to control applications, running under Wine, is a bit of crap shoot (mainly focus issues - especially when applications are minimised, etc.)
Your best bet is to write simple scripts with:
Bob
Your best bet is to write simple scripts with:
- Autohotkey
winetricks uses Autohotkey - under the hood. - AutoIt
AutoIt is quite easy to use. I've personally used it quite a lot to automate tasks on native Windows.
You can also compile your AutoIt scripts to native Windows .exe binaries.
Bob