If you are needing to take screenshots, good news scrot is easy to use.
scrot is a minimalist command line screenshot/screencapture application.
It should come pre-installed with the Raspberry Pi Debian OS.
- Execute the following command to initiate a screenshot after a 5 second delay,
scrot -d 5
- The resulting screenshot should be saved as PNG format and should be saved in the same directory the command was executed from.