title: Programmatically hide/show a window in Linux
body: <p>I've been searching all over the place for a solution to this.</p>
  
  <p>How can I show/hide (or minimize/unminimize if you rather) Linux windows.</p>
  
  <p>I'm interested in any solution in any language.</p>
  
  <p>I use Debian, Gnome, Metacity and Compton composite manager if they're relevant</p>
  
  <p><em>Note: I tried using <code>wmctrl</code> but the <code>toggle,hidden</code> feature of <code>wmctrl</code> 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.</em></p>