0

Release: "Ubuntu 22.04.2 LTS", XDG_SESSION_TYPE=x11

Hello, I often take screenshots and usually the built in screenshot taker is fine - the one you get when you hit the PrtScn key.

But sometimes, I want to make use of a delay - I need to take a screenshot with my mouse hovering on something so for example a tooltip pops up. I used to use kazam for that, but this now only takes transparent pngs :/

Any good screenshot utilities I should take a look at?

  • 1
    Please edit your question to point us toward a step-by-step example. When I try capturing an image of a tooltip+mouse in this page rendered in FireFox, it works properly. – user535733 Apr 11 '23 at 02:11
  • I ah can't take a screenshot of the screenshot tool not giving me an option to delay the capturing of the screenshot because AFAIK the screenshot capturing tool can't take a screenshot of itself – Jacob Briggs Apr 11 '23 at 02:21
  • 1
    You don't need to take a screenshot of the screenshot tool. That would be silly. Simply edit your question to explain a step-by-step example of how to reproduce the problem. Be specific about an application or website so we can reproduce it *exactly*. If we cannot reproduce it, we cannot help you much. – user535733 Apr 11 '23 at 03:32
  • 2
    Does this answer your question? [How do I take screenshots with a delay?](https://askubuntu.com/questions/252281/how-do-i-take-screenshots-with-a-delay) – popey Apr 11 '23 at 09:52
  • Look mate there is only one step - hit PrtScn - and I've been specific about the application. – Jacob Briggs Apr 11 '23 at 20:23

4 Answers4

0

This might not be the smoothest solution, but in lieu of picking a specific tool for this type of task, I've tried recording a video of the screen and using that instead (taking a screenshot of the video at the time I want) - very much a hacky workaround, but the helpful thing on my end was that I didn't have to figure out the right number of seconds to plan for in the delay - I could just do whatever it was I needed to show, stop the recording and find the specific shot I needed.

I mention that only because the GNOME screenshot utility does have a screen recording feature built-in, so that could be an option?

If you're open to the KDE/Qt-based side of things, I use Kubuntu as my daily OS now and I really love the included screenshot utility, labeled 'ksnip' in the software store, which is available as an Ubuntu distribution package, Snap, or Flatpak.

  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Apr 11 '23 at 08:32
  • Yeah this is how I solved the issue. Not the smoothest way but definitely flexible :) – Jacob Briggs Apr 11 '23 at 20:26
0

A note: the build in screenshot tool will allow you to capture the screen as you momentary see it, e.g. with a tooltip or a right-click menu shown. Of course, that will happen only if you trigger the screenshot tool with the shortcut key, PrtScr.

Alternatively, gnome-screenshot remains available for you to install. This is the tool that was used before in the default Gnome desktop and where you could set a delay.

vanadium
  • 82,909
  • 6
  • 116
  • 186
  • When I hit "PrtScr" with the built in screenshot tool, it brings up a dialogue that allows me to choose an area and toggle between screenshot and screen recording - hitting "PrtScr" doesn't immediately take a screenshot. Is there a setting I might change to enable this behaviour? – Jacob Briggs Apr 11 '23 at 20:32
  • Feel free to open additional questions here if you have any that are not yet covered on the site. Currently, several people are trying to answer your current question. You should see which one is for you the best, accept that one, upvote other good ones and then move on. – vanadium Apr 12 '23 at 09:00
0

Screen shots can be taken using the gnome-screenshot command, which by default puts your whole screen's image into your ~/Pictures directory.

For a 10 second delayed screen shot you can use something like:

gnome-screenshot -p -d 10

For more information see man gnome-screenshot.

Note: There seems to be a bug with the -p option and the mouse pointer is not included in the screen shot.

FedKad
  • 9,212
  • 7
  • 40
  • 79
0

The command-line tool scrot is very versatile and can do this.

sudo apt install scrot

ALT+F2 scrot -d 5 ENTER

This will wait 5 seconds then take a screenshot. Scrot is very flexible, and can be controlled to take multiple shots, only an area of the display, or separate displays.

popey
  • 22,629
  • 9
  • 71
  • 123