ESCROTUM(1)
ESCROTUM(1) π
okay so this is a User Commands manual page, bestie β buckle up π
β¨ NAME β¨
escrotum β a minimalist screenshot capture and screen recording program, inspired by scrot. yes. that's the whole vibe. minimalist. iconic. π¦
πΈ DESCRIPTION πΈ
okay so here's the usage, literally exactly as it appears, no cap:
usage: escrotum [-h] [-v] [-s] [-x XID] [-d DELAY]
[--selection-delay SELECTION_DELAY] [-c] [-C] [-e COMMAND] [-r]
[FILENAME]
Minimalist screenshot capture and screen recording program inspired by scrot. that's the whole pitch and honestly? it ate. π₯
π positional arguments π
FILENAMEβ the image filename, bestie. and if you don't give one, it defaults to%Y-%m-%d-%H%M%S_$wx$h_escrotum.pngβ which lowkey looks like a keyboard smash but trust, it makes sense once you read the special strings section below π
π optional arguments π
-h,--helpβ shows this help message and then dips. exit stage left. π«Ά-v,--versionβ spits out the version info and leaves. β¨-s,--selectβ interactively pick a window or draw a rectangle with your mouse. and if you change your mind? cancel with Esc or right click. no drama π±οΈ-x XID,--xid XIDβ takes a screenshot of the window with that specificxid. targeting, but make it X11 π-d DELAY,--delay DELAYβ waitsDELAYseconds before taking the shot. gives you time to fix your hair πββοΈ--selection-delay SELECTION_DELAYβ the delay in milliseconds between the selection and the screenshot. tiny pause, big difference β±οΈ-c,--countdownβ shows a countdown before the shot. requires delay β so don't come at it with no-d, it will not work, iykyk π-C,--clipboardβ stores the image on the clipboard. paste-ready, main character energy π-e COMMAND,--exec COMMANDβ runs your command after the image is taken. automation slay π€-r,--recordβ screen recording mode!! and Alt+Ctrl+s stops the recording, write that down π
π¦ SPECIAL STRINGS π¦
okay bestie this part is actually so cool. both the --exec parameter and the filename parameter can take format specifiers, and escrotum expands them when it encounters them. π§
there are two kinds of format specifier:
- characters preceded by a
%get interpreted bystrftime(2). go seeman strftimefor examples. these ones can refer to the current date and time. β - the second kind is internal to
escrotumand prefixed by$. the following specifiers are recognised:
$fβ image path/filename (ignored when used in the filename)$wβ image width$hβ image height
Example:
escrotum '%Y-%m-%d-%H%M%S_$wx$h_escrotum.png'
creates a file called something like 2013-06-17-082335_263x738_escrotum.png. see?? it all comes together π
π EXIT STATUS CODES π
so if something goes sideways, here's what the numbers mean:
1β can't get the window by xid2β invalid pixbuf3β can't save the image4β user canceled selection5β can't grab the mouse6β error with ffmpeg
π SEE ALSO π
The full documentation for escrotum is maintained as a Texinfo manual. If the info and escrotum programs are properly installed at your site, the command
info escrotum
should give you access to the complete manual. π
fr fr, that's the whole page β every flag, every specifier, every exit code, nothing skipped π
signing off: this was escrotum 0.2.1, dated January 2020, from the User Commands section β stay slay, take screenshots πβ¨π¦
π¦ where this page comes from
- nixpkgs unstable: escrotum 1.0.1-unstable-2020-12-07
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms