I'm currently using the following command to simulate a click on an open window in the taskbar panel (I'm on xubuntu 64 bit):
xdotool mousemove 25 768 click 1 mousemove restore
This command works flawlessly, EXCEPT when I have multiple instances of a window open; this has something to do with the fact that my windows are set to group multiple instances in the taskbar.
For example, in this image, there are two instances of Chromium open. The command above ONLY works when I close this second instance.
Is there any way to fix this?
Thanks,
Cal