Install gtk-vector-screenshot by entering the following commands in the terminal:
sudo apt update sudo apt install gtk-vector-screenshot
Description:
takes screenshots of applications as PDF or SVG files
This gtk module allows you to take a screenshot of a running gtk-3 application as a vector image, with fully scalable graphics and selectable text. It supports rendering the application to PDF, SVG and PostScript.
Homepage: http://www.joachim-breitner.de/projects#gtk-vector-screenshot
Version: 0.3.2.1-2build1
Section: universe/gnome