Pi Screenshots using scrot

Recently I needed to take a screenshot of my Raspberry Pi. I have done this before with a digital camera, but I found a nice little utility called scrot

This can be installed with sudo apt-get update followed by apt-get install scrot

The utilty is called from the command line in its simplest form by typing scrot which will take a screenshot immediately and store it in the current working directory.

If you want to take a picture of the graphics desktop the simplest way is to open an lxde terminal window and type scrot -d 5  Then minimise the terminal window and 5 seconds later the picture will be saved. The timestamp is included within the filename.

The program is actually capable of more sophisticated settings which are listed by typing scrot –help

You can for example take a screenshot of a window or region of the screen or include a border or generate a thumbnail of the image.

for example type scrot -d 5 -u -b in the terminal window then press return
click on a window with the mouse on the graphics screen and 5 seconds later a picture will be saved of this window alone with its border.

This is a great little utility




First post for a little while. Amongst other things I’ve been taking a look at Sonic-Pi, a program devised for pupils in schools to introduce them to programming ideas via a musical synth program. You can generate tunes and sound effects using the program, and I have used it to code up several pieces of music which are held in a gist here https://gist.github.com/rbnpi

So far I’ve produced two versions of Frere Jaques as a round, a Bach Minuet and renditions of three Beatles songs.

The program is included in the latest version of Raspian or you can download it to a Pi using suod apt-get update followed by sudo apt-get install sonic-pi

There is a website with further resources here http://www.cl.cam.ac.uk/projects/raspberrypi/sonicpi/