Take screenshots in background silently for archive purposes

The name of the pictureThe name of the pictureThe name of the pictureClash 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?










share|improve this question























  • What is your Ubuntu version?
    – PRATAP
    1 hour ago










  • @PRATAP 18.04 LTS
    – J. Doe
    48 mins ago














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?










share|improve this question























  • What is your Ubuntu version?
    – PRATAP
    1 hour ago










  • @PRATAP 18.04 LTS
    – J. Doe
    48 mins ago












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?










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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
















  • 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










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.



enter image description here



enter image description here



enter image description here



Sounds are stopped by dconf settings under sound section



enter image description here






share|improve this answer






















  • neat one! will try out - thank you!
    – J. Doe
    19 mins ago

















up vote
0
down vote













maybe scrot or shoot can be used.






share|improve this answer



























    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.






    share|improve this answer




















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "89"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      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






























      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.



      enter image description here



      enter image description here



      enter image description here



      Sounds are stopped by dconf settings under sound section



      enter image description here






      share|improve this answer






















      • neat one! will try out - thank you!
        – J. Doe
        19 mins ago














      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.



      enter image description here



      enter image description here



      enter image description here



      Sounds are stopped by dconf settings under sound section



      enter image description here






      share|improve this answer






















      • neat one! will try out - thank you!
        – J. Doe
        19 mins ago












      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.



      enter image description here



      enter image description here



      enter image description here



      Sounds are stopped by dconf settings under sound section



      enter image description here






      share|improve this answer














      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.



      enter image description here



      enter image description here



      enter image description here



      Sounds are stopped by dconf settings under sound section



      enter image description here







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited 5 mins ago

























      answered 28 mins ago









      PRATAP

      7141418




      7141418











      • 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




      neat one! will try out - thank you!
      – J. Doe
      19 mins ago












      up vote
      0
      down vote













      maybe scrot or shoot can be used.






      share|improve this answer
























        up vote
        0
        down vote













        maybe scrot or shoot can be used.






        share|improve this answer






















          up vote
          0
          down vote










          up vote
          0
          down vote









          maybe scrot or shoot can be used.






          share|improve this answer












          maybe scrot or shoot can be used.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 31 mins ago









          Mr.Michael.Schulze

          112




          112




















              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.






              share|improve this answer
























                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.






                share|improve this answer






















                  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.






                  share|improve this answer












                  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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 11 mins ago









                  DK Bose

                  10.3k103375




                  10.3k103375



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      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













































































                      Comments

                      Popular posts from this blog

                      What does second last employer means? [closed]

                      List of Gilmore Girls characters

                      Confectionery