Is there a way to focus a certain window under Gnome without bringing the window up?
Background:
I'm creating a script to type an arbitrary sequence characters on a certain window/application. With the help of xdotool
, it is possible. But any focus function that it provides -- or any other tools do -- brings the target window forward. That, I want to find a way around.
You can change the focusing habit of windows in Ubuntu like this
First got to:
Then Check "Select windows when the mouse moves over them"
Make sure "Raise selected windows after an interval" is deselected.
Hope this helps.