How To Take Screenshots On The Raspberry Pi Using Command Line

 How To Take Screenshots On The Raspberry Pi Using Command Line 


1. Install scrot
sudo apt-get install scrot

2. Use command line via ssh 
 
env DISPLAY=:0 XAUTHORITY=/home/pi/.Xauthority scrot /path/to/screen.png 
 
3. Download image via SFTP 

Comments

Popular posts from this blog

How to clean DB from old logs in Magento 1.x

Reduce (shrink) and resize raw disk at Proxmox

Apache 2.4 + mod_wsgi + Python 3.7 + Django installation on Centos 7.10