Programmatically hide/show a window in Linux
问题 I've been searching all over the place for a solution to this. How can I show/hide (or minimize/unminimize if you rather) Linux windows. I'm interested in any solution in any language. I use Debian, Gnome, Metacity and Compton composite manager if they're relevant Note: I tried using wmctrl but the toggle,hidden feature of wmctrl has been broken for a while and it's not been updated in two years so unlikely to work any time soon. The net is full of bug reports concerning this. 回答1: You can