On 2022-07-27, Nicolas George <geo...@nsup.org> wrote: > > Curt (12022-07-27): >> I've Imagemagick installed, so
>> import image.png > > This is my go-to solution too. Except when I want to capture the mouse > pointer too, in this case I use =E2=80=9Cffmpeg -f x11grab=E2=80=9D. > > I would advise to add -depth 8; otherwise the PNG needlessly uses 16 > bits per component. >> from a terminal works (though it seems you're confined to the active >> window). > > import immediately makes a server grab to capture the mouse and let you > click on the window you want to import. If you need a few seconds to > focus the window you want to capture: > > sleep 2; import -depth 8 image.png Seems obvious, but I would've never thought of that. Thanks. > Regards, > > Nicolas George > --