
Originally Posted by
deford_cnca
This is for ubuntu only.
1. apt-get install scrot
2. write a script somewhere and copy paste below. Save it like xshot.sh
#!/bin/bash
scrot '%Y%m%d_%H%M%S_shot.jpg' -e 'mv $f ~/screenshots/' -q 80
Note: See the scrot man page for details about the various options. My example will take a screenshot and name it with a timestamp, move it to a folder called ~/screenshots, and save it at a quality of 80%. An error will occur if that folder doesn't already exist.
3. schedule the script to run whatever you prefer via cronjobs
ex. to run it every minute
* * * * * /bin/bash ~/xshot.sh
Note to all above instructions, this should be done on the remote computer itself.
Hope this helps!