Sign inSign up

harpo/scrot

By harpo

•Updated over 7 years ago

A simple command-line screenshot utility for X

Image
0

10K+

harpo/scrot repository overview

⁠scrot

A simple command-line screenshot utility for X

⁠Install

#!/bin/bash
docker pull harpo/scrot

⁠Launching

⁠Contextual Configuration

To launch scrot in an isolated context where files are saved to the current directory run:

#!/bin/bash
docker run --rm -it --cap-drop=ALL --security-opt=no-new-privileges --net none -v $PWD:/ctx -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY --user=$(id -u):$(id -g) harpo/scrot "$@"
⁠Global Configuration

To launch scrot in an isolated context where files are always saved to a specific directory run:

#!/bin/bash
docker run --rm -it --cap-drop=ALL --security-opt=no-new-privileges --net none -v $HOME/images/captures:/ctx -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY --user=$(id -u):$(id -g) harpo/scrot "$@"

Tag summary

Content type

Image

Digest

Size

5.9 MB

Last updated

over 7 years ago

docker pull harpo/scrot