Skip to content
项目

关于

Make screenshots from CLI.

开发工具

这些数字如何统计

可以做什么

  • GNU/Linux (X11 + XRandR)
  • the whole desktop
  • currently focused window
  • currently focused monitor (established by focused window)

实测星标增长

24小时
0
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

shot

Make screenshots with friendly CLI.

Download for Windows: Github Releases Detailed usage: click

Features

  • 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

Why not scrot?

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.

Interactive selection in action

--interactive at its
best


Compiling for GNU/Linux

  1. Install libpng.

  2. Run following:

     mkdir build && cd build
     cmake ..
     make
    
  3. If you wish to install it globally:

     sudo make install
    

Cross compiling for Windows

  1. Install mxe and compile libpng and cmake:

     git clone https://github.com/mxe/mxe.git
     cd mxe
     make libpng cmake
    
  2. Compile with mxe:

     mkdir build && cd build
     ~/path/to/mxe/usr/bin/i686-w64-mingw32.static-cmake ..
     make
    

探索相关项目

加载中…