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

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks

Python pxssh failed on login. could not set shell prompt

Differences between gz, bzip2, xz, 7z, rar, lzop