/usr/share/remarkable/templates/usr/share/remarkable/templates/templates.json (back it up first)systemctl restart xochitlAll of the above must be repeated after each system update.
If you have jq installed (e.g. using Entware), you can automate this. First,
/home/root/templates/home/root/templates/extra-templates.jsonThis can be done just once, since the contents of /home/root don’t get erased during system updates. Now run the code below:
cp -n /home/root/templates/*.svg /usr/share/remarkable/templates
cp -n /usr/share/remarkable/templates/templates.json /usr/share/remarkable/templates/templates.json.bak
cp /usr/share/remarkable/templates/templates.json.bak /home/root/templates/templates.json.original
jq -ra '.templates += inputs' \\
/home/root/templates/templates.json.original \\
/home/root/templates/extra-templates.json \\
> /home/root/templates/templates.json.custom
cp /home/root/templates/templates.json.custom /usr/share/remarkable/templates/templates.json
systemctl restart xochitl