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
Any help? Thanks
Alt + Print Screen to take a screenshot of a window. Shift + Print Screen to take a screenshot of an area you select.
Already answered here:
Screenshot of a windows application running under wine (linux)
Edit: if you want to do it in C, try Xlib. Some links:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With