blob: 43c62d8ed7211d7644e4016234c1d0f236f73a6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
fbdump (captures the visible portion of framebuffer to stdout)
fbdump is a simple tool that captures the contents of the visible
portion of the Linux framebuffer device and writes it to the standard
output as a PPM file. In other words, it takes a screenshot of
anything running on the framebuffer. It currently has fairly complete
support for packed-pixel framebuffer types and also works with the
VGA16 framebuffer driver.
To get a popular image format, issue a command like:
fbdump | pnmtopng > shot.png
Note: fbdump is rather slow on modern systems with high-resolution
framebuffers at 32-bit color depth. On some systems, it takes several
seconds to dump a 1920x1080x32 framebuffer. Be patient. Or use fbcat
instead.
|