Page 1 of 1
Forum

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.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



Raspberry Pi - How ...
 
Share:
Notifications
Clear all

[Solved] Raspberry Pi - How to take screenshot without XWindows running?!

1 Posts
1 Users
0 Reactions
1,663 Views
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2728
Topic starter  

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

   
ReplyQuote
Share: