Page 1 of 1

Raspberry Pi – How to take screenshot without XWindows running?!

Raspberry Pi – How to take screenshot without XWindows running?!

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
Examples: "MacOS X - Your question", "MS Word - Your Tip or Trick".

Please note that switching to another language when reading a post will not work!
Posts will not have a translated counterpart.




RSS Feed

Home Forums Hardware Raspberry Pi Raspberry Pi – How to take screenshot without XWindows running?!

Viewing 1 post (of 1 total)
  • Author
    Posts
  • 2639

    hans
    Keymaster

    While writing an article related to the RaspberryPi, I wanted to take a screenshot of ChameleonPi – which runs without XWindows. So the usual screenshot tools like scrot didn’t work. So I had to divert to another tool, which actually took me a while to find.

    Raspi2png does the trick but you’ll need to download and compile it before you can use it:
    git clone https://github.com/AndrewFromMelbourne/raspi2png.git
    cd raspi2png
    make
    After compiling you can copy the binary (for example: sudo cp raspi2png /usr/local/bin/), after that simply call it by entering:
    raspi2png
    After that you’ll a file called snapshot.png in the directory where you called raspi2png.

    Note: Scrot can be installed as such:
    sudo apt-get install scrot
Viewing 1 post (of 1 total)



You must be logged in to reply to this topic.