title: How do I programatically take a screenshot of an application in Linux?
body: <p>How do I programatically take a screenshot of an application in Linux? I'm using c++. Any idea? For windows there are a lot of resources but I can't find anything for linux</p>
  
  <p>Any help?
  Thanks</p>