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

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

1 Posts
1 Users
0 Likes
1,220 Views
 Hans
(@hans)
Famed Member Admin
Joined: 10 years ago
Posts: 2459
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

Like what you see and you'd like to help out? 

The best way to help is of course by assisting others with their questions here in the forum, but you can also help us out in other ways:

- Do your shopping at Amazon, it will not cost you anything extra but may generate a small commission for us,
- send a cup of coffee through PayPal ($5, $10, $20, or custom amount),
- become a Patreon,
- donate BitCoin (BTC), or BitCoinCash (BCH).

Share: