Quote:
Originally Posted by kalleanka
not easy since it depends on your wm and the wm can override your xcommands.
|
It depends on your window manager following the EWMH “standard” (or at least the part of it pertaining to window switching). Most window managers follow this correctly. In fact, the above works for me in an xterm with XFCE4. E.g., if I do:
Code:
sleep 3; wmctrl -ia $WINDOWID
and minimize the xterm while it’s sleeping, it will restore itself after the appropriate time.