MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Screen capture on a Raspberry Pi

    Scheduled Pinned Locked Moved General Discussion
    tips and tricks
    5 Posts 5 Posters 3.9k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • KirAsh4K Offline
      KirAsh4 Moderator
      last edited by paviro

      I had to look this one up myself today. For those of you wanting to do a screen capture on your MM2 on the raspberry pi, you can install the scrot package (sudo apt-get install scrot) and use it to do that. Simply issuing the scrot command from a terminal will take a screen capture of what’s being displayed and saves a PNG file in the current folder. You can also tell it where to put the file by issuing scrot /path/to/file.png - note you must put in a file name as well for this to work.

      Now obviously you can’t do that when MM2 is running, but you can do it through an SSH login to the raspberry pi. You will have to tell it which display to use: DISPLAY=:0 scrot /path/to/file.png.

      Because I develop from a remote machine (through SSH), the above command comes in handy because I can drop the file onto a shared folder and access it from my remote system.

      Using scrot beats taking a picture of the screen whenever you want to show something on your MM installation.

      A Life? Cool! Where can I download one of those from?

      1 Reply Last reply Reply Quote 3
      • MichMichM Offline
        MichMich Admin
        last edited by

        Thanks! Good to know. I usually use VNC, but this could be helpful too.

        1 Reply Last reply Reply Quote 0
        • D Offline
          devinpaul
          last edited by

          If you are interested in using screen capture you can try techsmith.

          1 Reply Last reply Reply Quote 0
          • S Offline
            steveray
            last edited by

            Thanks for the information.

            1 Reply Last reply Reply Quote 0
            • delightedCrowD Offline
              delightedCrow Project Sponsor Module Developer
              last edited by

              Really helpful, thanks!

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy