xovi guide

Importing documents larger than 100MB

Requirements

Transfer your document

Example (replace <file.pdf> with the filename of the file):

scp <file.pdf> root@10.11.99.1:/home/root/temp.pdf

See transferring files on remarkable.guide for a more in-depth information. Transfer the file to /home/root/temp.pdf on the tablet.

Add the file to documents

On your tablet, run the following commands:

Generate an internal document ID:

document_id=$(uuidgen)

Set the filename of the document (replace <name-visible-in-the-ui> with your desired filename):

document_filename="<name-visible-in-the-ui>"

Move the file to the documents folder:

mv temp.pdf /home/root/.local/share/remarkable/xochitl/$document_id.pdf

Setup file metadata:

echo '{"createdTime":"'"$(date +%s)"'000","lastModified":"'"$(date +%s)"'000","type":"DocumentType","visibleName":"'"$document_filename"'"}' > /home/root/.local/share/remarkable/xochitl/$document_id.metadata
echo '{"fileType":"pdf"}' > /home/root/.local/share/remarkable/xochitl/$document_id.content

Restart your tablet

Or restart the main program (faster, and doesn't stop xovi):

systemctl restart xochitl

After the restart, your document might look weird (no thumbnail, page 1 of 0). Just open the document and its metadata will automatically be corrected.