Skip to content

Latest commit

 

History

History
80 lines (55 loc) · 3 KB

File metadata and controls

80 lines (55 loc) · 3 KB

reMarkable

Customizations for reMarkable Paper Tablet. Script tested on version 2.0.x and 2.1.x

Automatically change your poweroff and suspend screens every 5 minutes

Manual installation

  • Connect to your reMarkable via ssh and copy this repo into a temp folder i.e. /home/root/temp/reMarkable-1.0.0

  • From the temp folder, create dedicated folders for your scripts and images

cd /home/root/temp/reMarkable-1.0.0
mkdir -p /usr/share/remarkable/scripts
mkdir -p /home/root/customization/images/poweroff
mkdir -p /home/root/customization/images/suspended
  • Copy the script into the correct folder and set it executable
cp scripts/random-screens/set-random-screens.sh /usr/share/remarkable/scripts/
chmod +x /usr/share/remarkable/scripts/set-random-screens.sh
  • Copy some images under dedicated folders
cp images/poweroff/* /home/root/customization/images/poweroff
cp images/suspended/* /home/root/customization/images/suspended

Name of the files is not important: every image in the folder will be elegible to be selected randomly by the script. You can find very good example in this repo. Note: I found them on Facebook but I can't remember the author anymore, I'm sorry. If you find him/her please PR this repo.

  • Copy service and timer in the correct folder
cp scripts/random-screens/random-screens.service /usr/lib/systemd/user/random-screens.service
cp scripts/random-screens/random-screens.timer /usr/lib/systemd/user/random-screens.timer

You can now delete your temp folder.

  • Enable service and timer
systemctl enable /usr/lib/systemd/user/random-screens.timer
systemctl enable /usr/lib/systemd/user/random-screens.service
  • Restart your reMarkable

  • You should now see one of your custom suspend and poweroff image in place. To do some troubleshooting, you can use these commands:

$ systemctl list-timers
NEXT                         LEFT          LAST                         PASSED  UNIT                         ACTIVATES
Mon 2020-04-20 10:07:35 UTC  4min 33s left Mon 2020-04-20 10:02:34 UTC  26s ago random-screens.timer         random-screens.service
Mon 2020-04-20 10:16:34 UTC  13min left    n/a                          n/a     systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service

$ systemctl status random-screens.service
● random-screens.service - Set random images for splash screens
   Loaded: loaded (/usr/lib/systemd/user/random-screens.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Mon 2020-04-20 10:02:35 UTC; 2min 21s ago
  Process: 332 ExecStart=/usr/share/remarkable/scripts/set-random-screens.sh (code=exited, status=0/SUCCESS)
 Main PID: 332 (code=exited, status=0/SUCCESS)

Apr 20 10:02:35 remarkable systemd[1]: Started Set random images for splash screens.

Installation script

WIP :)

Changing the timer

You can change the frequency of the refresh modifying the value OnUnitActiveSec inside the file /usr/lib/systemd/user/random-screens.timer and then restarting your reMarkable.