Add support for Grim in Wayland sessions ImageGrab by AdianKozlica · Pull Request #8912 · python-pillow/Pillow

Skip to content

Navigation Menu

Sign in

Appearance settings

Conversation

@AdianKozlica

Adds support for Grim, a screenshot tool used by XFCE (Wayland session), and compositors such as Sway and Hyprland.

@AdianKozlica AdianKozlica changed the title Add support for Grim in Wayland sessions Add support for Grim in Wayland sessions ImageGrab

Apr 18, 2025

radarhere

radarhere

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>

@radarhere

Just trying to think ahead - after #8842 added spectacle, and this adds grim, are there any more screenshot tools you plan to add?

radarhere

@AdianKozlica

The only one that remains is cosmic-screenshot, but COSMIC DE is still in an alpha state and from my testing it only seems to support specifying a custom save directory but not a custom output filename.

radarhere added a commit to radarhere/Pillow that referenced this pull request

Jun 14, 2025

radarhere added a commit to radarhere/Pillow that referenced this pull request

Jun 14, 2025

hugovk added a commit that referenced this pull request

Jun 16, 2025

Labels

2 participants

@AdianKozlica @radarhere