On Sun, 25 Sep 2016 15:20:44 +0300, Sergey Protserov wrote: >Thank you very much, it seems like wmctrl and xdotool is what I was >looking for! I will use them then. You are welcome! If you should write a script, please post it. Regards, Ralf