PeeWee
Posts: 11
Joined: Thu Jul 19, 2012 12:26 pm

Screen Capture Program

Wed Dec 19, 2012 10:34 am

Does anybody know of a screen capture program that I can us on my Raspberry Pi.

I normally use Shutter to take screen shots on my Ubuntu operated Toshiba laptop. However, I would like to use my Pi to take screen shots as part of my work writing user guides.

Regards

PeeWee

Hiro
Posts: 78
Joined: Fri Dec 30, 2011 11:09 am

Re: Screen Capture Program

Wed Dec 19, 2012 9:02 pm

How about giving the command line utility Scrot a try? It's very simple to use and a tiny install. A simple how-to can be found here. http://www.freesoftwaremagazine.com/art ... with_scrot

flyinghappy
Posts: 115
Joined: Mon Nov 05, 2012 5:31 pm

Re: Screen Capture Program

Wed Dec 19, 2012 9:08 pm

I second the use of scrot. Works very well on my desktop.

Code: Select all

scrot -c 5


gives me a 5 second delay before taking the shot.
Pi with ArchLinux running a minidlna/samba home server

PeeWee
Posts: 11
Joined: Thu Jul 19, 2012 12:26 pm

Re: Screen Capture Program

Thu Dec 20, 2012 12:51 pm

Thank you for the help. Scrot works perfectly and so simple to operate. Just have to memorize the line commands now as I have been so used to clicking buttons.

Regards

PeeWee

User avatar
mad-hatter
Posts: 419
Joined: Sun Feb 26, 2012 2:58 pm
Location: By the UK seaside

Re: Screen Capture Program

Thu Dec 20, 2012 1:24 pm

Hi,

ksnaphot - has a front end

Regards

JimBurke
Posts: 5
Joined: Fri Aug 21, 2015 8:44 am

Re: Screen Capture Program

Tue Mar 29, 2016 10:21 am

This is fine when you are using the X desktop. There are a few screen capture/manipulation apps such as this.
HOWEVER, what about if you are running WITHOUT an X server ? For example, you are running a java app on the console and you want to screenshot it ?

Any ideas ?

Jim

klricks
Posts: 6776
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Screen Capture Program

Tue Mar 29, 2016 12:45 pm

JimBurke wrote:This is fine when you are using the X desktop. There are a few screen capture/manipulation apps such as this.
HOWEVER, what about if you are running WITHOUT an X server ? For example, you are running a java app on the console and you want to screenshot it ?

Any ideas ?

Jim
I do screen captures [Alt]-[Print Screen] over a remote connection on a Windows machine. Either SSH (PuTTY) or RDP (remote desktop).
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

User avatar
rpdom
Posts: 16087
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Screen Capture Program

Tue Mar 29, 2016 5:12 pm

To capture the console framebuffer as an image, I think you can use fbcat

Code: Select all

[email protected] ~ $ apt-cache show fbcat
Package: fbcat
Version: 0.3-1
Architecture: armhf
Maintainer: Piotr Lewandowski <[email protected]>
Installed-Size: 57
Depends: libc6 (>= 2.13-28)
Recommends: netpbm | graphicsmagick | imagemagick
Conflicts: fbgrab
Replaces: fbgrab
Provides: fbgrab
Homepage: http://fbcat.googlecode.com/
Priority: extra
Section: graphics
Filename: pool/main/f/fbcat/fbcat_0.3-1_armhf.deb
Size: 9944
SHA256: 04666865bbb43765a44618021c887381e92d57053dd096d20b685ec8e0e7d92b
SHA1: 1f2efcc1840f0d09347f99573e3c32dccf543224
MD5sum: f23d9d8578c20bdde29620001b5a5803
Description: framebuffer grabber
 fbcat grabs a screenshot of a framebuffer and stores in a PPM file.
 .
 This package also provides a compatibility wrapper around fbcat to ease
 migration from fbgrab.
Description-md5: 37bef91d1c0a57141537400941ef2def
I haven't tried it myself.

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: Screen Capture Program

Tue Mar 29, 2016 5:15 pm

"PrtScr" aka "print screen" on keyboard works also. as does the screenshot function in GIMP.
DNPNWO

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Screen Capture Program

Tue Mar 29, 2016 5:16 pm

AndyD has a nice utility called raspi2png which I used to screenshot omxplayer.
https://github.com/AndrewFromMelbourne/raspi2png
There are 10 types of people: those who understand binary and those who don't.

User avatar
rpdom
Posts: 16087
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Screen Capture Program

Tue Mar 29, 2016 5:20 pm

Ok, now I've tried it and it seems to work
fb.png
fb.png (3.83 KiB) Viewed 2799 times
That's a low-res framebuffer because that Pi is running headless and defaulting to composite output. Also I've got it defaulting to a very large font.
I used "convert" from imagemagick to convert the generated ppm file to a png.

Return to “Beginners”