Score:0

screenshot with a delay

ck flag

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?

user535733 avatar
cn flag
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.
Jacob Briggs avatar
ck flag
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
user535733 avatar
cn flag
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.
pl flag
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)
Jacob Briggs avatar
ck flag
Look mate there is only one step - hit PrtScn - and I've been specific about the application.
Score:0
pl flag

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.

Jacob Briggs avatar
ck flag
Thanks, I'll give this a go!
Score:0
as flag

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.

Jacob Briggs avatar
ck flag
Yeah this is how I solved the issue. Not the smoothest way but definitely flexible :)
Score:0
cn flag

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.

Jacob Briggs avatar
ck flag
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?
vanadium avatar
cn flag
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.
Score:0
cn flag

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.

I sit in a Tesla and translated this thread with Ai:

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.