Introduction to screengrab

The screengrab package is a cross-platform tool for making screenshots quickly.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

screengrab Dependencies


(kwindowsystem-5.115.0 for lxqt or KDE Frameworks-5.115.0), and libqtxdg-3.12.0

Installation of screengrab

If KDE Frameworks-5.115.0 was not installed in /usr, help the code find some headers that it needs:

export CXXFLAGS+="-I $KF5_PREFIX/include"
export CFLAGS+="-I $KF5_PREFIX/include"

Install screengrab by running the following commands:

mkdir -v build &&
cd       build &&

cmake -DCMAKE_BUILD_TYPE=Release  \
      ..       &&


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.


Installed Program: screengrab
Installed Libraries: None
Installed Directory: /usr/share/screengrab and /usr/share/doc/screengrab

Short Descriptions


is a cross platform tool for creating screenshots quickly