fbdump.1 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH FBDUMP 1 "2017-03-24" "0.4.2" "SlackBuilds.org"
  4. .SH NAME
  5. fbdump \- Dumps the contents of the framebuffer to stdout as a PPM file
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .\" RST source for fbdump(1) man page. Convert with:
  34. .
  35. .\" rst2man.py fbdump.rst > fbdump.1
  36. .
  37. .\" rst2man.py comes from the SBo development/docutils package.
  38. .
  39. .\" converting from pod:
  40. .
  41. .\" s/B<\([^>]*\)>/**\1**/g
  42. .
  43. .\" s/I<\([^>]*\)>/*\1*/g
  44. .
  45. .SH SYNOPSIS
  46. .sp
  47. fbdump [\fI\-fb <device>\fP] [\fI\-vt <terminal>\fP] [\fI\-delay <sec>\fP]
  48. .SH DESCRIPTION
  49. .sp
  50. fbdump is a simple tool that captures the contents of the visible portion
  51. of the Linux framebuffer device and writes it to the standard output as
  52. a PPM file. In other words, it takes a screenshot of anything running on
  53. the framebuffer. It currently has fairly complete support for packed\-pixel
  54. framebuffer types and also works with the VGA16 framebuffer driver.
  55. .SH OPTIONS
  56. .INDENT 0.0
  57. .TP
  58. .B \fB\-fb\fP \fIdevice\fP
  59. Path to the framebuffer device to dump. Default: \fI/dev/fb0\fP\&.
  60. .TP
  61. .B \fB\-vt\fP \fIterminal\fP
  62. Bring virtual terminal number \fIterminal\fP to the foreground before dumping.
  63. Default: dump current foreground terminal.
  64. .TP
  65. .B \fB\-delay\fP \fIsec\fP
  66. Wait \fIsec\fP seconds before dumping. Default: dump immediately.
  67. .UNINDENT
  68. .INDENT 0.0
  69. .TP
  70. .B \-\-help
  71. Display usage and exit.
  72. .UNINDENT
  73. .SH EXAMPLES
  74. .sp
  75. To dump the framebuffer as a PNG image:
  76. .INDENT 0.0
  77. .INDENT 3.5
  78. fbdump | pnmtopng > grab.png
  79. .UNINDENT
  80. .UNINDENT
  81. .SH COPYRIGHT
  82. .sp
  83. See the file /usr/doc/fbdump\-0.4.2/COPYING for license information.
  84. .SH AUTHORS
  85. .sp
  86. fbdump was written by Richard Drummond <\fI\%evilrich@rcdrummond.net\fP>.
  87. .sp
  88. This man page written for the SlackBuilds.org project
  89. by B. Watson, and is licensed under the WTFPL.
  90. .SH SEE ALSO
  91. .sp
  92. The fbdump homepage: \fI\%http://www.rcdrummond.net/fbdump/\fP
  93. .\" Generated by docutils manpage writer.
  94. .