Take screenshots in background silently for archive purposes
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
During my work, I often try out tools of different complexity and develop usage and integration scenarios.
I use Ubuntu 18.04 LTS.
Sometimes if things get really complicated, I am not always sure how exactly I got to the solution, and for documentation and knowledge sharing purposes I spend additional time to become more aware of a neat and clean way with less messing around, take screenshots and so on.
Then I thought it would be great to have a screen capturing tool to take a picture say every 30 seconds silently in background so that I can:
- easily recap my steps and also gotchas
- if I am lucky, directly use screenshots from this image archive for the documentation.
I thought I would for example configure a cronjob for shutter, but while I am already using it, there is an error "you have already shutter instance running". I will try now with scrot.
Any better ideas?
shutter snapshot capture scrot-command
add a comment |Â
up vote
2
down vote
favorite
During my work, I often try out tools of different complexity and develop usage and integration scenarios.
I use Ubuntu 18.04 LTS.
Sometimes if things get really complicated, I am not always sure how exactly I got to the solution, and for documentation and knowledge sharing purposes I spend additional time to become more aware of a neat and clean way with less messing around, take screenshots and so on.
Then I thought it would be great to have a screen capturing tool to take a picture say every 30 seconds silently in background so that I can:
- easily recap my steps and also gotchas
- if I am lucky, directly use screenshots from this image archive for the documentation.
I thought I would for example configure a cronjob for shutter, but while I am already using it, there is an error "you have already shutter instance running". I will try now with scrot.
Any better ideas?
shutter snapshot capture scrot-command
What is your Ubuntu version?
– PRATAP
1 hour ago
@PRATAP 18.04 LTS
– J. Doe
48 mins ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
During my work, I often try out tools of different complexity and develop usage and integration scenarios.
I use Ubuntu 18.04 LTS.
Sometimes if things get really complicated, I am not always sure how exactly I got to the solution, and for documentation and knowledge sharing purposes I spend additional time to become more aware of a neat and clean way with less messing around, take screenshots and so on.
Then I thought it would be great to have a screen capturing tool to take a picture say every 30 seconds silently in background so that I can:
- easily recap my steps and also gotchas
- if I am lucky, directly use screenshots from this image archive for the documentation.
I thought I would for example configure a cronjob for shutter, but while I am already using it, there is an error "you have already shutter instance running". I will try now with scrot.
Any better ideas?
shutter snapshot capture scrot-command
During my work, I often try out tools of different complexity and develop usage and integration scenarios.
I use Ubuntu 18.04 LTS.
Sometimes if things get really complicated, I am not always sure how exactly I got to the solution, and for documentation and knowledge sharing purposes I spend additional time to become more aware of a neat and clean way with less messing around, take screenshots and so on.
Then I thought it would be great to have a screen capturing tool to take a picture say every 30 seconds silently in background so that I can:
- easily recap my steps and also gotchas
- if I am lucky, directly use screenshots from this image archive for the documentation.
I thought I would for example configure a cronjob for shutter, but while I am already using it, there is an error "you have already shutter instance running". I will try now with scrot.
Any better ideas?
shutter snapshot capture scrot-command
shutter snapshot capture scrot-command
edited 48 mins ago
asked 1 hour ago
J. Doe
1185
1185
What is your Ubuntu version?
– PRATAP
1 hour ago
@PRATAP 18.04 LTS
– J. Doe
48 mins ago
add a comment |Â
What is your Ubuntu version?
– PRATAP
1 hour ago
@PRATAP 18.04 LTS
– J. Doe
48 mins ago
What is your Ubuntu version?
– PRATAP
1 hour ago
What is your Ubuntu version?
– PRATAP
1 hour ago
@PRATAP 18.04 LTS
– J. Doe
48 mins ago
@PRATAP 18.04 LTS
– J. Doe
48 mins ago
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
2
down vote
I have just started learning Ubuntu.
I don't know this method is proper or not.
I Could achieve it in the below way.
I have created a script like this named ScreenShot.sh in the folder /usr/local/bin
#!/bin/bash
# NAME: ScreenShot.sh
# PATH: /usr/local/bin
# DESC: Take Screenshots at every specified intervals with "watch -n 10 ScreenShot.sh" Command
# DATE: Oct 12th 2018
sudo gnome-screenshot -d 0
sudo chmod a+x /usr/local/bin/ScreenShot.sh
when i start the system and wanted to start the screen capture at every 10secs,
i run this command
sudo watch -n 10 ScreenShot.sh
i have configured my default folder, image type to be saved, with dconf editor in gnome-screenshot
section.
Sounds are stopped by dconf settings under sound section
neat one! will try out - thank you!
– J. Doe
19 mins ago
add a comment |Â
up vote
0
down vote
maybe scrot or shoot can be used.
add a comment |Â
up vote
0
down vote
I came up with
#! /usr/bin/env bash
sleep_period=30s
while true; do
scrot $HOME/Pictures/"$(date +%Y%m%d%H%M%S)".png
sleep $sleep_period
done
I have ~/bin
and so I saved this script there as continuous-scrot.sh
and made it executable. To run it, I open a terminal window and type the name of the script and press Enter. I leave this terminal window active and full-screen screenshots are captured every 30s in your ~/Pictures
folder. To stop, just go back to this terminal window and press Ctrl+C.
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
I have just started learning Ubuntu.
I don't know this method is proper or not.
I Could achieve it in the below way.
I have created a script like this named ScreenShot.sh in the folder /usr/local/bin
#!/bin/bash
# NAME: ScreenShot.sh
# PATH: /usr/local/bin
# DESC: Take Screenshots at every specified intervals with "watch -n 10 ScreenShot.sh" Command
# DATE: Oct 12th 2018
sudo gnome-screenshot -d 0
sudo chmod a+x /usr/local/bin/ScreenShot.sh
when i start the system and wanted to start the screen capture at every 10secs,
i run this command
sudo watch -n 10 ScreenShot.sh
i have configured my default folder, image type to be saved, with dconf editor in gnome-screenshot
section.
Sounds are stopped by dconf settings under sound section
neat one! will try out - thank you!
– J. Doe
19 mins ago
add a comment |Â
up vote
2
down vote
I have just started learning Ubuntu.
I don't know this method is proper or not.
I Could achieve it in the below way.
I have created a script like this named ScreenShot.sh in the folder /usr/local/bin
#!/bin/bash
# NAME: ScreenShot.sh
# PATH: /usr/local/bin
# DESC: Take Screenshots at every specified intervals with "watch -n 10 ScreenShot.sh" Command
# DATE: Oct 12th 2018
sudo gnome-screenshot -d 0
sudo chmod a+x /usr/local/bin/ScreenShot.sh
when i start the system and wanted to start the screen capture at every 10secs,
i run this command
sudo watch -n 10 ScreenShot.sh
i have configured my default folder, image type to be saved, with dconf editor in gnome-screenshot
section.
Sounds are stopped by dconf settings under sound section
neat one! will try out - thank you!
– J. Doe
19 mins ago
add a comment |Â
up vote
2
down vote
up vote
2
down vote
I have just started learning Ubuntu.
I don't know this method is proper or not.
I Could achieve it in the below way.
I have created a script like this named ScreenShot.sh in the folder /usr/local/bin
#!/bin/bash
# NAME: ScreenShot.sh
# PATH: /usr/local/bin
# DESC: Take Screenshots at every specified intervals with "watch -n 10 ScreenShot.sh" Command
# DATE: Oct 12th 2018
sudo gnome-screenshot -d 0
sudo chmod a+x /usr/local/bin/ScreenShot.sh
when i start the system and wanted to start the screen capture at every 10secs,
i run this command
sudo watch -n 10 ScreenShot.sh
i have configured my default folder, image type to be saved, with dconf editor in gnome-screenshot
section.
Sounds are stopped by dconf settings under sound section
I have just started learning Ubuntu.
I don't know this method is proper or not.
I Could achieve it in the below way.
I have created a script like this named ScreenShot.sh in the folder /usr/local/bin
#!/bin/bash
# NAME: ScreenShot.sh
# PATH: /usr/local/bin
# DESC: Take Screenshots at every specified intervals with "watch -n 10 ScreenShot.sh" Command
# DATE: Oct 12th 2018
sudo gnome-screenshot -d 0
sudo chmod a+x /usr/local/bin/ScreenShot.sh
when i start the system and wanted to start the screen capture at every 10secs,
i run this command
sudo watch -n 10 ScreenShot.sh
i have configured my default folder, image type to be saved, with dconf editor in gnome-screenshot
section.
Sounds are stopped by dconf settings under sound section
edited 5 mins ago
answered 28 mins ago


PRATAP
7141418
7141418
neat one! will try out - thank you!
– J. Doe
19 mins ago
add a comment |Â
neat one! will try out - thank you!
– J. Doe
19 mins ago
neat one! will try out - thank you!
– J. Doe
19 mins ago
neat one! will try out - thank you!
– J. Doe
19 mins ago
add a comment |Â
up vote
0
down vote
maybe scrot or shoot can be used.
add a comment |Â
up vote
0
down vote
maybe scrot or shoot can be used.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
maybe scrot or shoot can be used.
maybe scrot or shoot can be used.
answered 31 mins ago
Mr.Michael.Schulze
112
112
add a comment |Â
add a comment |Â
up vote
0
down vote
I came up with
#! /usr/bin/env bash
sleep_period=30s
while true; do
scrot $HOME/Pictures/"$(date +%Y%m%d%H%M%S)".png
sleep $sleep_period
done
I have ~/bin
and so I saved this script there as continuous-scrot.sh
and made it executable. To run it, I open a terminal window and type the name of the script and press Enter. I leave this terminal window active and full-screen screenshots are captured every 30s in your ~/Pictures
folder. To stop, just go back to this terminal window and press Ctrl+C.
add a comment |Â
up vote
0
down vote
I came up with
#! /usr/bin/env bash
sleep_period=30s
while true; do
scrot $HOME/Pictures/"$(date +%Y%m%d%H%M%S)".png
sleep $sleep_period
done
I have ~/bin
and so I saved this script there as continuous-scrot.sh
and made it executable. To run it, I open a terminal window and type the name of the script and press Enter. I leave this terminal window active and full-screen screenshots are captured every 30s in your ~/Pictures
folder. To stop, just go back to this terminal window and press Ctrl+C.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I came up with
#! /usr/bin/env bash
sleep_period=30s
while true; do
scrot $HOME/Pictures/"$(date +%Y%m%d%H%M%S)".png
sleep $sleep_period
done
I have ~/bin
and so I saved this script there as continuous-scrot.sh
and made it executable. To run it, I open a terminal window and type the name of the script and press Enter. I leave this terminal window active and full-screen screenshots are captured every 30s in your ~/Pictures
folder. To stop, just go back to this terminal window and press Ctrl+C.
I came up with
#! /usr/bin/env bash
sleep_period=30s
while true; do
scrot $HOME/Pictures/"$(date +%Y%m%d%H%M%S)".png
sleep $sleep_period
done
I have ~/bin
and so I saved this script there as continuous-scrot.sh
and made it executable. To run it, I open a terminal window and type the name of the script and press Enter. I leave this terminal window active and full-screen screenshots are captured every 30s in your ~/Pictures
folder. To stop, just go back to this terminal window and press Ctrl+C.
answered 11 mins ago
DK Bose
10.3k103375
10.3k103375
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1083128%2ftake-screenshots-in-background-silently-for-archive-purposes%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What is your Ubuntu version?
– PRATAP
1 hour ago
@PRATAP 18.04 LTS
– J. Doe
48 mins ago