Hi guys, I'm writing because I want to be able to tell a particular command to run in focus.
I have a game which runs in a 32-bit WINE prefix, and it never takes focus when it opens, it just opens in the background.
I can bring it into focus by clicking on it in the taskbar, or by running "wmctrl -R Alice: Madness Returns", but I can't just add that command to the end of the shortcut, (even using the parallel command), presumably because the game hasn't opened by the time the focus command has run.
It's particularly awkward having to click on it in the tasktray after opening it, because the computer I'm trying to run it on is a media centre, and I'm running the game from XBMC, so I need to put down my gamepad and pick up the remote control to minimise XBMC, switch the remote control to air mouse to click on Alice Madness Returns in the task tray, then put the remote control down and pick up the gamepad again. Really I want something in the command to run it, which tells it to take focus.
Does anyone know of a way to tell a the software to take focus in the command to run it?
I have a game which runs in a 32-bit WINE prefix, and it never takes focus when it opens, it just opens in the background.
I can bring it into focus by clicking on it in the taskbar, or by running "wmctrl -R Alice: Madness Returns", but I can't just add that command to the end of the shortcut, (even using the parallel command), presumably because the game hasn't opened by the time the focus command has run.
It's particularly awkward having to click on it in the tasktray after opening it, because the computer I'm trying to run it on is a media centre, and I'm running the game from XBMC, so I need to put down my gamepad and pick up the remote control to minimise XBMC, switch the remote control to air mouse to click on Alice Madness Returns in the task tray, then put the remote control down and pick up the gamepad again. Really I want something in the command to run it, which tells it to take focus.
Does anyone know of a way to tell a the software to take focus in the command to run it?
Comment