GithubHelp home page GithubHelp logo

maandree / scrotty Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 0.0 198 KB

Framebuffer screenshoter

License: GNU General Public License v3.0

Makefile 56.73% C 43.27%
tty linux vt screenshooter application

scrotty's Introduction

NAME
	scrotty 2.0 - Framebuffer screenshot program

SYNOPSIS
	scrotty [OPTION]... [--] [FILENAME_PATTERN | > FILE]

DESCRIPTION
	scrotty is a minimalist screenshoter for your framebuffers.
	It takes a screenshot of your TTY session. X is not supported.

	scrotty is designed after scrot(1), but includes a some
	improvements. Namely it does not support delaying the screenshot,
	selecting image quality or creating thumbnails. That is left
	to be done by the user with the option --exec and a a utility
	such as convert(1).

OPTIONS
	-h, --help
		Print usage information.

	-v, --version
		Print program name and version.

	-c, --copyright
		Print copyright information.

	-d, --device NO
		Select framebuffer device.

	-e, --exec CMD
		Command to run for each saved image.

	Each option can only be used once.

SPECIAL STRINGS
	Both the --exec and FILENAME_PATTERN parameters can take format
	specifiers that are expanded by scrotty when encountered. There
	are two types of format specifier. Characters preceded by a '%'
	are interpreted by strftime(3). These options may be used to
	refer to the current date and time. The second kind are internal
	to scrotty and are prefixed by '$' or '\'. The following specifiers
	are recognised:
	
	$i	framebuffer index
	$f	image filename/pathname (ignored in FILENAME_PATTERN)
	$n	image filename          (ignored in FILENAME_PATTERN)
	$p	image width multiplied by image height
	$w	image width
	$h	image height
	$$	expands to a literal '$'
	\n	expands to a new line
	\\	expands to a literal '\'
	\ 	expands to a literal ' ' (backslash, space)

	A space that is not prefixed by a backslash in --exec is
	interpreted as an argument delimiter. This is the case even at
	the beginning and end of the string and if a space was the
	previous character in the string.

FUTURE DIRECTIONS
	Support for TTY:s in other kernels should be added.

RATIONALE
	Taking screenshots was a pain before this (except, fbcat
	already existed without my knowledge.) Screenshots
	are useful if you want to remember something or send an
	image of how something looks.

SEE ALSO
	scrot(1), strftime(3), convert(1), fbcat(1), setterm(1)

	Full documentation available locally via: info '(scrotty)'

	See INSTALL for installation instructions.
	See DEPENDENCIES for software dependenices.
	See COPYING for the full license used by the software.
	See NEWS for significant differences between releases.

LICENSE
	Copying and distribution of this manual, with or without
	modification, are permitted in any medium without royalty
	provided the copyright notice and this notice are preserved.
	This file is offered as-is, without any warranty.

scrotty's People

Contributors

maandree avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.