The screengrab package is a cross-platform tool for making screenshots quickly.
![[Note]](../images/note.png) 
          Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://github.com/lxqt/screengrab/releases/download/3.0.0/screengrab-3.0.0.tar.xz
Download MD5 sum: c461c39cf810864ac3414b3bed29640c
Download size: 368 KB
Estimated disk space required: 9.0 MB
Estimated build time: 0.4 SBU
lxqt-build-tools-2.2.1, kwindowsystem-6.17.0 for lxqt, and libqtxdg-4.2.0
First, fix a build failure with Qt-6.10:
patch -Np1 -i ../screengrab-3.0.0_fix-1.patch
Install screengrab by running the following commands:
mkdir build &&
cd    build &&
cmake -D CMAKE_BUILD_TYPE=Release  \
      -D CMAKE_INSTALL_PREFIX=/usr \
      ..                           &&
make
        This package does not come with a test suite.
          Now, as the root user:
        
make install
          If you have xdg-utils-1.2.1 installed, as the
          root user, run xdg-icon-resource forceupdate --theme
          hicolor.