Quote:
Originally Posted by Elektron
Is it possible to make screenshots more frequent?
|
The screenshots are no longer in the limitation of one second; it takes a screenshot as fast as it could. The speed depends on the speed of the SCP transfer. You can look in the script, it's only 6 lines of Bash code, not very complicated :
Code:
#!/bin/sh
while :; do read -r -p 'IP: ' ip && break; done
while :; do read -r -p "Your Kobo device screen width resolution: " width && break; done
while :; do read -r -p "Your Kobo device screen height resolution: " height && break; done
sshpass -p test ssh root@$ip 'watch -n 30 "fbink -H -k -f | tee -a output.txt" &>/dev/null &'
while true; do gnome-screenshot -p --file=/tmp/continuous.png && sshpass -p test scp /tmp/continuous.png root@$ip:/tmp && sshpass -p test ssh root@$ip 'fbink -g file=/tmp/continuous.png,w='$width',h='$height''; done
What I could implement is an automated 'watch' process on the Kobo that displays the image via FBInk every x seconds, regardless if the images were updated or not.
I'm looking in that way right now. I may update the script by this evening.
For now, you can try it with USBNet, it improves the speed a little.