x11 - Check window visibility with wmctrl -


i want check if window visible or not under x11. imagine case there several open windows on deskop (= visible windows). show desktop. expect value change "visible = 1" "visible = 0" or that... there way information?

wmctrl -m not work, shows "show desktop mode" on, while being not.

it depends if window manager, work me using kde window manager (kwm).

the wmctrl man page says:

-k  ( on  |  off  )               turn on or off window manager's "show desktop" mode (if window manager  imple‐               ments feature). 

i did wmctrl -m in command window showed mode off sleep 10; wmctrl -m , selected "show desktop" icon.

when reopened command window, mode "on".


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -