Created
April 6, 2021 13:41
-
-
Save owulveryck/ea9c768da783378ca6e10cd311ce0e16 to your computer and use it in GitHub Desktop.
screenshot on remarkable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
( | |
cat << \EOF | |
dd if=/proc/$(pidof xochitl)/mem count=2628288 bs=1 skip=$((16#$(grep '/dev/fb0' /proc/$(pidof xochitl)/maps | sed 's/.*\-\([0-9a-f]*\) .*/\1/'))) | |
EOF | |
) | ssh root@IP_OF_REMARKABLE | convert -depth 8 -size 1872x1404+0 gray:- shot.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment