This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
resnap.sh
Patrick Pedersen edited this page Apr 22, 2019
·
3 revisions
reSnap takes a snapshot of the current display on the reMarkable.
It copies /dev/fb0
from the reMarkable to the host machine and uses ImageMagick to convert to an image.
Usage: resnap.sh [-h | --help] [-v | --version] [-r ssh_address] [output_jpg]
Arguments:
output_jpg File to save screenshot to (default resnap.jpg)
-v --version Display version and exit
-i path to ssh pubkey
-r Address of reMarkable (default 10.11.99.1)
-h --help Display usage and exit
Connect over network with pubkey. Save to out.png
$ resnap.sh -r 192.168.1.123 -i ~/.ssh/remarkable out.png
To download this script, we will be using wget
, an application present on most bash compatible systems by default
$ wget https://github.com/reHackable/scripts/raw/master/host/resnap.sh
From here on, you may opt to copy the script to a path defined in the $PATH
variable so that it can be executed directly from the terminal
Assuming our device is connected to the machine via USB, we can execute the script with no arguments provided. The script will attempt to connect to the device trough SSH.
It is important to note, that the device must remain unlocked until the script has completed
$ bash resnap.sh