Is there any library in Ubuntu to know the names of current windows open, similar to win32gui in Windows?
wmctrl -l should do the job wmctrl manual
wmctrl -l