How To Take Screenshots On The Raspberry Pi

How To Take Screenshots On The Raspberry Pi

Taking screenshots on the Raspberry Pi is a relatively easy thing to do, once you know how. In this tutorial we will show you how to take screenshots on your Raspberry Pi. To do this we'll be using a free application called "scrot". We're going to assume that you're running the Raspbian operating system for this guide.

pi_raspbian_desktop

Installation Installation is simple, make sure you're connected to the internet and run the following commands

sudo apt-get update sudo apt-get install scrot

How To Use Once installed, to take a screenshot simply open up LXTerminal from the GUI and type the following. This will create your screenshot in your default user directory (usually /home/pi/)

scrot

If you want to add a delay before the screenshot is taken (for example if you want to close some windows, use the command below

scrot -d 10

If you want the screenshot to be saved in a different location, with a different name or in a different extension you can simply add the path, file name and extension to the command

scrot /home/pi/myscreen.png

Advanced Options Below is a list of advanced options available for scrot.

pi_scrot_commands

Leave a comment

All comments are moderated before being published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.