Score:2

making a keyboard shortcut to open the screenshots app

mx flag

I have recently switched from windows 10 to Ubuntu 20.04 everything is going pretty well so far but one feature from Windows I kind of miss was that, when you pressed the print button, an app called 'snipping tool' would open up, allowing you to grab a screenshot of an area, a window or the whole screen.

Of course, I know that there's the screenshots app on Ubuntu that does the same thing. But by default, the print button just copies a screenshot of the whole screen to the clipboard. How do I change it, so that the app itself opens up like this?

like this?

(I tried making a custom shortcut with the command 'gnome-screenshot', but it just saves a screenshot to my pictures.)

Score:3
cn flag

Quite some shortcuts are defined by default in Ubuntu to take screenshots:

  • Save a screenshot: Print
  • Save a screenshot of an area: Shift+Print
  • Save a screenshot of a window: Alt+Print

Add Ctrl to these combinations to copy the screenshot to the clipboard rather than to a file.

Of course, you can instead summon the window of the application if you prefer so. Then bind the following command to a shortcut key:

gtk-launch org.gnome.Screenshot

This causes you to open the tool through the launcher that you see in the Applications overview. The actual command that causes that behavior is gnome-screenshot --interactive.

Neeraj Hanumante avatar
cn flag
How to change the command such that it directly goes into area mode?
Score:2
id flag

I’m not 100% sure exactly what you want, but I think these will get you there:

(1) Print Screen takes a screenshot and saves to pictures (2) Alt + Print Screen takes a screenshot of your current window and saves to pictures (3) Shift + Print Screen takes a screenshot of a customisable area (you click and drag a rectangle) and saves to pictures.

If you hold down Ctrl whilst performing any of the above, it copies the selection to the clipboard instead of saving to pictures - eg Ctrl + Shift + Print Screen lets you choose an area to copy to the clipboard.

I hope that helps.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.