~~NOTOC~~
{{ :apps:xfce4-screenshooter.png?nolink|}}
====== xfce4-screenshooter - Xfce Screenshot Utility ======
* **[[#Introduction|Introduction]]**
* **[[#Debugging|Debugging]]**
* **[[#Required Packages|Required Packages]]**
* **[[#Latest Release|Latest Release]]**
* **[[#Source Code Repository|Source Code Repository]]**
* **[[#Reporting Bugs|Reporting Bugs]]**
----
===== Introduction =====
The xfce4-screenshooter is an application that can be used to take snapshots of your desktop screen.
xfce4-screenshooter allows you to capture the entire screen, the active window or a selected region.
You can set the delay that elapses before the screenshot is taken and the action that will be done with the screenshot: save it to a file, copy it to the clipboard, open it using another application or use your creativity with custom actions scripts.
This manual describes how you can use xfce4-screenshooter, and how you can configure it to your preferences.
----
===== Screenshooter =====
* **[[usage|Using the application]]** -- Make screenshots with the application interface or the command-line
* **[[panel-plugin|Using the Xfce panel plugin]]** -- How to add and configure the panel plugin
* **[[custom-actions|Using custom actions]]** -- How to add and use custom actions
----
===== Debugging Support =====
xfce4-screenshooter currently supports three different levels of debugging support, which are selected through Meson's standard ''buildtype'' option (e.g. ''meson setup build -Dbuildtype=debug''):
^ Build type ^ Description ^
| ''debug'' | It adds all kinds of checks and debug tracing to the code, and is therefore likely to run slower. Use this for development of xfce4-screenshooter and locating bugs. |
| ''debugoptimized'' | This is the default. It keeps GLib's standard sanity checks enabled. **This is the recommended behaviour.** |
| ''release'' | Disables all sanity checks (assertions and cast checks). Don't use this unless you know exactly what you do. |
[[|Back to Top]]
----
===== Required Packages =====
xfce4-screenshooter depends on the following packages:
* [[https://docs.gtk.org/glib/|GLib]]
* [[https://www.gtk.org|GTK]]
* [[https://gitlab.xfce.org/xfce/libxfce4util|libxfce4util]]
* [[https://gitlab.xfce.org/xfce/libxfce4ui|libxfce4ui]]
* [[https://gitlab.xfce.org/xfce/xfconf|Xfconf]]
* [[https://gitlab.xfce.org/xfce/xfce4-panel|libxfce4panel]]
* [[https://gitlab.xfce.org/xfce/exo|exo]] (only with libxfce4ui < 4.21)
xfce4-screenshooter optionally depends on the following packages (at least one of the X11 or Wayland backends must be enabled):
* X11 support (meson option ''x11''):
* [[https://gitlab.freedesktop.org/xorg/lib/libx11|libX11]]
* [[https://gitlab.freedesktop.org/xorg/lib/libxi|libXi]]
* [[https://gitlab.freedesktop.org/xorg/lib/libxext|libXext]]
* GTK built with the X11 backend (''gdk-x11-3.0'')
* [[https://gitlab.freedesktop.org/xorg/lib/libxfixes|libXfixes]] (optional, meson option ''xfixes'')
* Wayland support (meson option ''wayland''):
* [[https://gitlab.freedesktop.org/wayland/wayland|Wayland]] (''wayland-client'' and ''wayland-scanner'')
* [[https://gitlab.freedesktop.org/wayland/wayland-protocols|wayland-protocols]]
* [[https://github.com/wmww/gtk-layer-shell|gtk-layer-shell]]
* GTK built with the Wayland backend (''gdk-wayland-3.0'')
* [[https://gitlab.freedesktop.org/wlroots/wlr-protocols|wlr-protocols]] (optional, the git submodule in ''protocols/wlr-protocols'' is used otherwise)
For current version requirements of Xfce components, see the [[https://wiki.xfce.org/releng/4.22/roadmap#changes_in_dependencies|dependency version list]] on the developer wiki. For the exact required or minimum versions, see the ''meson.build'' file in the source code repository or in the release tarball.
==== Choosing the backends ====
The ''x11'' and ''wayland'' meson options accept ''enabled'', ''disabled'' or ''auto'' (the default). With ''auto'', a backend whose dependencies are missing is silently disabled, while if you use ''enabled'' the configuration fails on missing dependencies.
If you build from a git clone with Wayland support and ''wlr-protocols'' is not installed on your system, initialize the submodule first:
git submodule update --init
X11 only:
meson setup build -Dx11=enabled -Dwayland=disabled
Wayland only:
meson setup build -Dx11=disabled -Dwayland=enabled
Both X11 and Wayland:
meson setup build -Dx11=enabled -Dwayland=enabled
[[|Back to Top]]
----
===== Latest Release =====
{{rss>https://archive.xfce.org/feeds/project/xfce4-screenshooter 1 date 2h}}
[[https://gitlab.xfce.org/apps/xfce4-screenshooter/-/blob/master/NEWS|Read the CHANGELOG]]
* **[[https://archive.xfce.org/src/apps/xfce4-screenshooter/|Download current release]]** (older versions of this component are also available here)
[[https://archive.xfce.org/src/apps/xfce4-screenshooter/|Previous Versions]]
[[|Back to Top]]
----
===== Source Code Repository =====
[[https://gitlab.xfce.org/apps/xfce4-screenshooter|]]
----
===== Reporting Bugs =====
* **[[:apps:xfce4-screenshooter:bugs|Reporting Bugs]]** -- List of currently open bugs and instructions on how to submit new bug reports
[[|Back to Top]]
----
[[:4.22:start|Back to Xfce 4.22 Main Documentation Page]]