View Single Post
Old 03-10-2025, 08:44 PM   #25
baptx
Junior Member
baptx began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2025
Device: Kobo Aura
I made the kobodisplay.sh script work on Kobo Aura but I did some things differently to make it work properly.
In landscape mode, the screenshot was not displaying at a corner of the screen so I had to use portrait mode instead. When executing the script in portrait mode, I also had to invert the width and height so for the width I added 758 and for the height 1024.
Then I had to edit the script to do a rotation of 90 degrees of the screenshot and also used the scrot command mentioned by @noobyme to avoid the screenshot blinking of gnome-screenshot on my laptop (I read we cannot disable it unless recompiling gnome-screenshot: https://askubuntu.com/questions/8543...lash-animation).
So the last line of the script I used looks like this:
while true; do scrot -p /tmp/continuous.png --overwrite && convert -rotate 90 /tmp/continuous.png /tmp/continuous.png && sshpass -p test scp /tmp/continuous.png root@$ip:/tmp ; done
baptx is offline   Reply With Quote