### Install lz4 on reMarkable Tablet Source: https://context7.com/cloudsftp/resnap/llms.txt Installs the lz4 compression binary on the reMarkable tablet to improve transfer performance. This involves copying a pre-compiled static binary and making it executable. ```bash # Check your local lz4 version first lz4 --version # Copy matching version to reMarkable (version 1.9.2 or 1.10.0) scp bin/lz4-1.10.0.arm.static root@10.11.99.1:/opt/bin/lz4 ssh root@10.11.99.1 'chmod +x /opt/bin/lz4' # Alternative location (legacy) scp bin/lz4-1.9.2.arm.static root@10.11.99.1:/home/root/lz4 ssh root@10.11.99.1 'chmod +x /home/root/lz4' ``` -------------------------------- ### Install lz4 on reMarkable Tablet Source: https://github.com/cloudsftp/resnap/blob/latest/README.md This snippet demonstrates how to copy a pre-compiled `lz4` binary to the reMarkable tablet via SCP and then make it executable using SSH. This is recommended for improving reSnap performance. ```bash scp bin/lz4-.arm.static root@$REMARKABLE_IP:/home/root/lz4 ssh root@$REMARKABLE_IP 'chmod +x /home/root/lz4' ``` -------------------------------- ### Get reSnap Version and Help Information Source: https://context7.com/cloudsftp/resnap/llms.txt Displays the current version of the reSnap script or provides detailed usage information, listing all available command-line options and their functions. ```bash # Display version ./reSnap.sh -v # Output: ./reSnap.sh version v2.5.3 # Display help ./reSnap.sh -h # Output: Usage information with all available options ``` -------------------------------- ### Basic Screenshot Capture with reSnap Source: https://context7.com/cloudsftp/resnap/llms.txt Captures a screenshot from a reMarkable tablet using the default IP address and displays it using feh. A temporary file is created for the snapshot. ```bash # Basic usage - captures and displays screenshot ./reSnap.sh # Expected output: Opens feh displaying the captured screenshot # Temporary file created at /tmp/reSnap/snapshot_YYYY-MM-DD_HH-MM-SS.png ``` -------------------------------- ### Run reSnap Script Source: https://github.com/cloudsftp/resnap/blob/latest/README.md This command executes the main reSnap script to capture a screenshot from the reMarkable tablet. It assumes the script is in the current directory and SSH access is configured. ```bash ./reSnap.sh ``` -------------------------------- ### Connect to reMarkable via Custom IP Address Source: https://context7.com/cloudsftp/resnap/llms.txt Connects to a reMarkable tablet over WiFi using a specified IP address. This can be done directly via a command-line argument or by setting the REMARKABLE_IP environment variable. ```bash # Connect via WiFi with custom IP ./reSnap.sh -s 192.168.1.100 # Using environment variable export REMARKABLE_IP=192.168.1.100 ./reSnap.sh # Expected output: Screenshot captured from device at specified IP ``` -------------------------------- ### Create Transparent Sketches with reSnap Source: https://context7.com/cloudsftp/resnap/llms.txt Removes the white background from the screenshot and resizes it for sketch extraction using ImageMagick. This can be used to create transparent PNGs for sketch mode. ```bash # Create transparent sketch ./reSnap.sh -f -o sketch.png # Sketch mode with clipboard ./reSnap.sh -f -x ``` -------------------------------- ### Copy reSnap Screenshots to Clipboard Source: https://context7.com/cloudsftp/resnap/llms.txt Copies the captured screenshot directly to the system clipboard using xclip. This can be combined with saving to a file or disabling the display. ```bash # Copy to clipboard ./reSnap.sh -x # Copy to clipboard and save to file ./reSnap.sh -x -o backup.png # Copy to clipboard without display ./reSnap.sh -x -n ``` -------------------------------- ### Configure reSnap Color and Pixel Formats Source: https://context7.com/cloudsftp/resnap/llms.txt Adjusts color correction and pixel format handling for reMarkable 2 devices with different firmware versions. Options include disabling color correction for newer firmware and byte correction for older firmware. ```bash # Disable color correction (enables highlighter colors on firmware 3.24+) ./reSnap.sh -c # Disable byte correction for firmware < 3.6 ./reSnap.sh -p # Both corrections disabled ./reSnap.sh -c -p # Using environment variables export RESNAP_COLOR_CORRECTION=false export RESNAP_BYTE_CORRECTION=false ./reSnap.sh ``` -------------------------------- ### Capture reSnap Screenshots in Landscape Orientation Source: https://context7.com/cloudsftp/resnap/llms.txt Captures the screenshot in landscape orientation by applying a 90-degree rotation transform. This can be used independently or combined with saving to a file. ```bash # Capture in landscape mode ./reSnap.sh -l # Combine with output file ./reSnap.sh -l -o landscape_screenshot.png ``` -------------------------------- ### Control reSnap Screenshot Display and Saving Source: https://context7.com/cloudsftp/resnap/llms.txt Manages whether the screenshot is displayed after capture using feh or only saved to a file. This can be controlled via command-line flags or the RESNAP_DISPLAY environment variable. ```bash # Force display the snapshot ./reSnap.sh -d # Capture without displaying (save only) ./reSnap.sh -n -o screenshot.png # Using environment variable for default behavior export RESNAP_DISPLAY=false ./reSnap.sh -o silent_capture.png ``` -------------------------------- ### Save reSnap Screenshots to a Specific File Source: https://context7.com/cloudsftp/resnap/llms.txt Saves the captured screenshot to a user-defined file path instead of a temporary location. This option can also be combined with landscape orientation. ```bash # Save to specific file ./reSnap.sh -o ~/screenshots/remarkable_capture.png # Save with landscape orientation ./reSnap.sh -o ~/screenshots/landscape.png -l # Expected output: File saved to specified path # File: ~/screenshots/remarkable_capture.png ``` -------------------------------- ### Invert Colors in reSnap Screenshots Source: https://context7.com/cloudsftp/resnap/llms.txt Inverts the colors of the captured screenshot, which is useful for dark mode viewing or specific image processing needs. This can be controlled via a command-line flag or an environment variable. ```bash # Invert colors ./reSnap.sh -i # Using environment variable export REMARKABLE_INVERT_COLORS=true ./reSnap.sh # Combine with other options ./reSnap.sh -i -l -o inverted_landscape.png ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.