Gnome desktop

  • [Prt Scrn] takes a screenshot of the whole desktop.
  • [Alt] + [Prt Scrn] takes a screenshot of a window.
  • [Shift] + [Prt Scrn] takes a screenshot of a rectangular region (selected with the mouse).

By default, Gnome saves screenshots in the directory ~/Pictures. By pressing [Ctrl] in addition to the above shortcuts, Gnome saves the screenshot to the clipboard instead.

Plasma desktop

Plasma uses spectacle to generate screenshots. By default, they are stored in a folder which can be specified in the settings of the program. In order to generate screenshots of a rectangular region that are copied to clipboard, a custom keyboard shortcut needs to be created:

  1. Open system settings → Shortcuts → Custom shortcuts.
  2. Create a new group for screenshots.
  3. Create a new shortcut with a proper name ("Rectangular screenshot to clipboard"), assign it a key combination, and set the action to
    spectacle -bcr

Obviously, it helps muscle memory to use the same shortcuts under Plasma as under Gnome. ;-)

 

Sources