Answer the question
In order to leave comments, you need to log in
How to take screenshots in linux at intervals?
Friends, I ask for help. The question is simple, but I'll have to poke around for a couple of days.
Task: I need to take screenshots of the process of working on a 3D model in the blender program. Approximately in this way:
I go to the console, type "screencast-start" and I have the contents of the screen recorded in * .png once a minute in a certain folder.
When it is required to stop, I write another command, for example "screencast-stop". I know how to make aliases, it's not a problem to prescribe the paths, I'll figure it out.
Wang that this can be solved using the usual imagemagick + cron, but I have never worked with them, and it will take a long time to figure it out, because I'm not a programmer, but a designer.
It is very important for me to be able to tell this program to shoot the first monitor, I have two of them. And the ability to set the time between "snapshots", because. I'm not sure yet whether a minute is enough, you may have to choose a different interval.
I really hope for your help. Thank you!
Answer the question
In order to leave comments, you need to log in
ffmpeg -thread_queue_size 512 -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 /home/username/screencasts/$(date +%Hh_%Mm_%Ss_%d_%B_%Y).mp4
bindsym --release Print exec --no-startup-id "maim -s -c 1,0,0,0.6 ~/Screenshots/$(date +%Hh_%Mm_%Ss_%d_%B_%Y).png"
bindsym --release $mod+Print exec --no-startup-id "maim -i $(xdotool getactivewindow) ~/Screenshots/$(date +%Hh_%Mm_%Ss_%d_%B_%Y).png"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question