Does anyone know of any remote screen capture in Linux? Or probably a local program that captures the screen every X minutes?
Does anyone know of any remote screen capture in Linux? Or probably a local program that captures the screen every X minutes?
Already found the program but if someone got another option, pls post here
maybe you can modify vnc or something?
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!
Similar Threads |
|