My net Logitech MX Keys keyboard doesn't have a regular Print Screen button anymore. Instead there is this camera/snipping tool button above the numpad.
This button does capture a screenshot in Ubuntu 20.04, but it lacks all the alternative methods.
Using the Solaar app, I have configured alternatives to take screenshots of;
- whole screen
- active window
- selected area
These are either stored in ~/Pictures or (with Control modifier) on the clipboard.
Enable the Snipping Tool Diversion:
I had to try out some different combinations of options for gnome-screenshot. Online were some suggestions. I have settled on two 'helpers'. Without these the command wouldn't work as expected.
- GDK_BACKEND=x11, to use/select the right clipboard
- -f /tmp/screenshot.png, to force taking the screenshot
Then configure rules for each alternative call.
No comments:
Post a Comment