wmctrl -a "something in tittle of the window"
wmctrl -l #list windows
There are several more command to play with this, but wmctrl can
probably do what you want
Hope it helps
On Fri, Jun 28, 2013 at 1:36 PM, Muhammad Yousuf Khan <email@example.com> wrote:
> for example there is a GUI application XYZ having process ID 12345
> and i want to bring in front of all instead of hitting alt+tab.
> actually i am using a remote-monitoring Java base application to monitor
> multiple machines in my network where i can check the real time graph via
> since we have multiple windows i do not want to press alt+tab all the time.
> rather what i want is to use a Bash script to auto switch the application
> any idea please ?