Sunday, September 24, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  10] [ 0]  / answers: 1 / hits: 24182  / 2 Years ago, wed, february 2, 2022, 1:46:02

I am trying to configure the 22.04 (Gnome 42) keyboard shortcut to get the "old" functionality of taking screenshots of area selections and pasting them into clipboard (Ctrl-Shft-PrtScr + select/release: done). The problem is that $ gnome-screenshot -ac doesn't copy the selection into clipboard unless there is an instance of gnome-screenshot utility running. Does anyone know how to work around this issue? (I know it is possible to run the "new" interactive screenshot tool, but that takes too many clicks and is not what I want.)

More From » 22.04


The -c command to copy the screenshot to the clipboard has a weird bug that doesn't copy the image when using -a to grab a selection.

A way to fix this is to make the command save the screenshot by adding --file={/filepath/filename.png} after the -a -c.

The command all together is gnome-screenshot -a -c --file={/filepath/filename.png}.

I don't know why this fixes the bug but it definitely works so you can try that.

Hope this is what you wanted @Iiro Ullin. Good luck!

[#533] Thursday, February 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 38
Total Questions: 106
Total Answers: 118

Location: Mali
Member since Sat, Feb 12, 2022
2 Years ago