Skip to content

Copy cursor screen selection

github-actions[bot] edited this page Apr 27, 2026 · 2 revisions

User tools & setup > Copy cursor selection to clipboard

xfce4-screenshooter overview

You can set up a keyboard shortcut that copies a selected area to the clipboard without saving a file. This is the equivalent of the Win+Shift+S shortcut in Windows OS.

This shortcut runs the xfce4-screenshooter program and applies the additional -r and -c options:

 $ xfce-screenshooter -rc
Option Description
-r, --region Select a region to be captured by clicking a point of the screen without releasing the mouse button, dragging your mouse to the other corner of the region, and releasing the mouse button.
-c, --clipboard Copy the screenshot to the clipboard.
--help View the full usage options in the terminal.

Create the shortcut command

  1. Open the Application Shortcuts tab in your Keyboard application.

    EOS keyboard application on the shortcuts tab, with a red box highlighting the Add and Edit options.

  2. Click on the Add or Edit button to add/edit a shortcut.

  3. Enter the following script into the command field:

     $ xfce4-screenshooter -rc

    EOS keyboard app dialogue window waiting to record keyboard input for the command field.

  4. When prompted, enter the shortcut to assign to xcfe4-screenshooter -rc

    • ex. Pressing Ctrl+Alt+S runs this command
  5. The command and its assigned shortcut will appear in the Application Shortcuts list and can be edited as needed.

    EOS keyboard application on the shortcuts tab with the new xfce4-screenshooter -rc shortcut selected.


Clone this wiki locally