You can take a screenshot from a selected area in Kubuntu with Shift+PrtScr. The only problem is that this saves the image to ~/Pictures
by default so you have to open ~/Pictures
in your file manager and then copy/paste or drag and drop the image into the desired application.
In Ubuntu you have the ability to press Ctrl+Shift+PrtScr to copy to the clipboard. Is there a way to do this in Kubuntu 18.04? I checked the default available shortcuts in System Settings > Shortcuts but I did not find shortcuts similar to the ones Ubuntu has.
Best Answer
tl;dr
Just create a shortcut for
spectacle -rbc
.Explanation
Kubuntu uses Spectacle for screenshots. If you run
spectacle -h
you can see all the options it supports. We need these options:So just create a shortcut for
spectacle -rbc
. If you prefer the GUI to popup, then create a shortcut forspectacle -r
. In GUI mode you still have a button that copies the capture to the clipboard and Ctrl+C works too!Tutorial
spectacle -rbc
orspectacle -r
for the GUI version.You can do the same for "Take Active Window Screenshot" just use the command
spectacle -abc
.Usage
After pressing the shortcut, you can do your rectangular selection by clicking and dragging, then take the screenshot with Enter or by double clicking the selected area. There are other actions you can do at this stage that will be displayed at the bottom of the monitor:
After taking the screenshot with
spectacle -rbc
a notification will be shown saying that "a screenshow was saved to your clipboard". Withspectacle -r
Spectacle will open and you can use its buttons or Ctrl + C.