How to take screenshot of RaspberryPi Desktop

#Howto take screenshot of #RaspberryPi Desktop

Problem vs Solution

Some time you may need to share the screenshot of your entire screen, for that purpose you can use a command line tool named scrot

Below will take a screenshot and save it in current directory with the name “test.png.”

scrot ./test.png

scrot can do more, try help scrot -h for more usage options.