LinuxCommandLibrary

xfce4-screenshooter

Take screenshots using the XFCE desktop environment

TLDR

Launch the screenshooter GUI

$ xfce4-screenshooter
copy

Take a screenshot of the entire screen and launch the GUI to ask how to proceed
$ xfce4-screenshooter [[-f|--fullscreen]]
copy

Take a screenshot of the entire screen and save it in the specified directory
$ xfce4-screenshooter [[-f|--fullscreen]] [[-s|--save]] [path/to/directory]
copy

Wait some time before taking the screenshot
$ xfce4-screenshooter [[-d|--delay]] [seconds]
copy

Take a screenshot of a region of the screen (select using the mouse)
$ xfce4-screenshooter [[-r|--region]]
copy

Take a screenshot of the active window, and copy it to the clipboard
$ xfce4-screenshooter [[-w|--window]] [[-c|--clipboard]]
copy

Take a screenshot of the active window, and open it with a chosen program
$ xfce4-screenshooter [[-w|--window]] [[-o|--open]] [gimp]
copy

SYNOPSIS

xfce4-screenshooter [options]
xfce4-screenshooter [-w|-f|-r] [-d SECONDS] [-s PATH|-c|-i] [-b|-u]

PARAMETERS

--window, -w
    Capture the active window.

--fullscreen, -f
    Capture the entire screen.

--region, -r
    Select a region to capture interactively with the mouse.

--delay=SECONDS, -d SECONDS
    Delay the screenshot by the specified number of SECONDS.

--save=PATH, -s PATH
    Save the screenshot to the specified file PATH.

--clipboard, -c
    Copy the screenshot to the system clipboard.

--imgur, -i
    Upload the screenshot to the Imgur image hosting service.

--border, -b
    Include window decorations (borders and title bar) when capturing a window (used with -w).

--no-border, -u
    Exclude window decorations (borders and title bar) when capturing a window (used with -w).

--help, -h
    Show the help message and exit.

--version, -V
    Show version information and exit.

DESCRIPTION

xfce4-screenshooter is a lightweight and versatile screenshot utility specifically designed for the Xfce desktop environment, though it can function in other environments. It allows users to capture various parts of their screen, including the entire desktop, a specific active window, or a user-defined rectangular region. The utility offers options to delay the capture, include or exclude window borders, and directly save the screenshot to a file, copy it to the system clipboard, or even upload it to the Imgur image hosting service. Its integration with Xfce panels and keyboard shortcuts makes it a convenient tool for quick and efficient screen capturing. It aims for simplicity and efficiency, providing essential screenshot functionalities without unnecessary complexity.

CAVEATS

The Imgur upload functionality requires an internet connection and may be subject to Imgur's API rate limits or terms of service changes. When using the -r (region) option, the user must manually select the area, which pauses execution until selection is complete. For saving to a file (-s), ensure the specified path is writable and the directory exists.

KEYBOARD SHORTCUTS INTEGRATION

Xfce users often configure custom keyboard shortcuts, such as Print Screen, to directly invoke xfce4-screenshooter with specific options (e.g., -f for fullscreen, -w for window, or -r for region selection), enhancing workflow efficiency.

PANEL INTEGRATION

The utility can be launched via an application launcher on the Xfce panel or as part of a panel plugin, providing a graphical interface for selecting capture options before taking the screenshot, or direct-action buttons for common capture types.

HISTORY

xfce4-screenshooter is an integral part of the Xfce Goodies project, providing essential utilities that complement the Xfce desktop environment. It has been developed alongside Xfce to offer a native and lightweight screenshot solution. Its focus has consistently been on simplicity and integration with the Xfce desktop, offering a reliable tool for users who prefer a non-resource-intensive desktop experience.

SEE ALSO

scrot(1), gnome-screenshot(1), imagemagick(1), ksnip(1)

Copied to clipboard