SUMMARY Currently spectacle can select a region to screenshot and take an image of it through `spectacle -b -r -o filename.png`. But it always has the UI for "save, save as , copy, export etc..." on the region select screen and it always requires either double clicking or pressing enter to save finish taking the screenshot. I'm looking for a way to use spectacle with *just* 1. execute spectacle through command line with cli parameters 2. region selection without any other UI elements 3. immediately finish taking screenshot after letting go of left mouse button For reference, what I'm talking about is like: `grim -g "$(slurp)"` using https://git.sr.ht/~emersion/grim in combination with https://github.com/emersion/slurp and gnome-screenshot's `gnome-screenshot -a -f file.png` and `maim --select file.png` with https://github.com/naelstrof/maim I think none of the above work on KDE plasma for different reasons (maim is x11 only, grim uses a wlroots extension, and I think gnome-screenshot only works with gnome's compositor)
> I think none of the above work on KDE plasma for different reasons (maim is > x11 only, grim uses a wlroots extension, and I think gnome-screenshot only > works with gnome's compositor) Oops, I meant that none of those work on plasma wayland. I know that KDE plasma has X11, but I was only thinking in the context of plasma wayland.
I believe you're looking for background mode. From `spectacle --help`: > -b, --background Take a screenshot and exit without > showing the GUI So try `spectacle -rb`.
Created attachment 159591 [details] Image of UI I don't want to see I've added an image to show what UI I don't want to see. using "spectacle -rb" still shows this.
> 3. immediately finish taking screenshot after letting go of left mouse button This option is in the settings dialog on the General page under the Rectangular Region Selection heading. It is called "Accept on click-and-release".