Make screenshots with friendly CLI.
Download for Windows: Github Releases Detailed usage: click
- Cross platform:
- Windows
- GNU/Linux (X11 + XRandR)
- Versatile region selection methods:
- the whole desktop
- currently focused window
- currently focused monitor (established by focused window)
- specific monitor
- specific window
- specific rectangle (passed as string)
- interactive selection with a special window
- Ideal to put under a hotkey
To have consistent user experience between platforms I use, I wanted it to work on Windows as well. Additionally, I wanted manual region selection to be more precise - in scrot, once you select a rectangle, that's it, you can't correct it. shot's region picker makes it easy to correct offsets even by 1px before actually taking the screenshot and provides visual feedback of the screen area.
-
Install
libpng
. -
Run following:
mkdir build && cd build cmake .. make
-
If you wish to install it globally:
sudo make install
-
Install
mxe
and compilelibpng
andcmake
:git clone https://github.com/mxe/mxe.git cd mxe make libpng cmake
-
Compile with
mxe
:mkdir build && cd build ~/path/to/mxe/usr/bin/i686-w64-mingw32.static-cmake .. make