scrot(1) (NAME) scrot - (SYNOPSIS) scrot [-bcfhimopuvz] [-a X,Y,W,H] [-C NAME] [-D DISPLAY] [-d SEC] [-e CMD] [-k OPT] [-l STYLE] [-M NUM] [-n OPTS] [-q NUM] [-s OPTS] [-t % | WxH] [-w NUM] [[-F] FILE] (DESCRIPTION) scrot ( SCReenshOT) imlib2 . scrot : o : JPG PNG GIF . o . o . scrot . scrot X server . scrot MIT-feh . (OPTIONS) -a, --autoselect X,Y,W,H X,Y W H . -b, --border (WM) . -s . -C, --class NAME NAME . -k. -c, --count -d. -D, --display DISPLAY DISPLAY X(7) . -d, --delay [b]SEC SEC . `b` ( `-d b8`) . -e, --exec CMD CMD . -F, --file FILE . FILE "-" scrot stdout . (SPECIAL STRINGS) . -F . -f, --freeze -s. -h, --help . -i, --ignorekeyboard ESC . -k, --stack[=OPT] / . Composite Manager . OPT : v/h (/). : h -l, --line STYLE STYLE -s SELECTION STYLE . -M, --monitor NUM Xrandr NUM. -m, --multidisp . -o, --overwrite scrot (FILE) . -p, --pointer . -q, --quality NUM NUM [1, 100] . . COMPRESSION QUALITY . : 75. -s, --select[=OPTS] . -l -f . OPTS SELECTION MODE . -t, --thumb % | WxH . : "x" . 0 . : 10 25 320x240 500x200 100x0 0x480. -u, --focused, --focussed . -v, --version . -w, --window WID . WID ( xwininfo(1) ). -Z, --compression LVL LVL [0, 9] . / . COMPRESSION QUALITY . : 7. -z, --silent . --format FMT "--format png". scrot . PNG . --list-options[=OPT] . "tsv" TAB . "human" . tsv ..SH " (SPECIAL STRINGS)" -e -F FILE scrot . : '%' strftime(3) . scrot '$' . scrot : $$ '$'. $a (hostname) . $F . $f ( ). $h . $m ( ). $n (basename) ( ). $p . $s ( ). $t ( ). $w . $W ( --select --focused --window). \n ( ). : $ scrot '%Y-%m-%d_$wx$h.png' -e 'du -h $f' PNG 2000-10-30_2560x1024.png du(1) . (SELECTION MODE) -s . . capture . hole . hide,IMAGE ( ) . . . blur,AMOUNT . . [1, 30] . : 18. 'hole' 'hide' 'color' ( ) 'opacity' << >> (SELECTION STYLE). 'hide' (alpha channel) opacity . : $ scrot --select=hide $ scrot -shole --line color="Dark Salmon",opacity=200 $ scrot -sblur,10 $ scrot -shide,stamp.png --line opacity=120 (SELECTION STYLE) -s -l . -l : style=STYLE STYLE "solid" "dash" ( ). width=NUM NUM [1, 8] . color="COLOR" HTML . HTML '#' . : #FF0000 () #E0FFFF ( ) #000000 (). opacity=NUM NUM [0, 255] . . _NET_WM_WINDOW_OPACITY . mode=MODE MODE "auto" "edge" "classic" ( ) . edge classic . "auto" -f "edge" "classic". "edge" style "classic" opacity . -l : mode=auto,style=solid,opacity=100 DPI . : $ scrot -l style=dash,width=3,color="red" -s ( PNG) . ( JPEG) . ( WebP JXL) . (EXAMPLES) scrot . xclip(1): $ scrot - | xclip -selection clipboard -target image/png optipng(1): $ scrot -e 'optipng -o4 $f' PID xdo(1): $ scrot -w $(xdo id -p PID) ImageMagick(1): $ scrot - | magick - -pointsize 64 -gravity North -annotate +16+16 'hello, world!' out.png (AUTHORS) scrot Tom Gilbert . . https://github.com/resurrecting-open-source-projects/scrot . (SEE ALSO) ImageMagick(1) optipng(1) xclip(1) xdo(1) xwininfo(1) scrot-2.0.0 13 Mar 2026 scrot(1)