Skip to content

Turns the button on the Lamy Pen EMR into an eraser on the reMarkable.

License

Notifications You must be signed in to change notification settings

wittmeis/RemarkableLamyEraser

 
 

Repository files navigation

If you are running a software version >3.0.0.0, this branch will not work! Switch branches in the top left corner to the v2-3.0.0-fix branch. This is a beta branch with fixes for the new software versions.

RemarkableLamyEraser

Standalone tool that turns the button on the Lamy Pen into an eraser on the reMarkable.

Also confirmed to work with these other styli:

  • Kindle Scribe Pen
  • Samsung S6 S Pen
  • Wacom One Pen CP91300B2Z

As an alternative, consider using this. (If you're already using ddvk-hacks, I'd defintely reccomend this route. This tool is for people who are looking for a less invasive option, and prefer the unaltered look of the reMarkable interface.)

The tool will definitely break when the reMarkable updates. When that happens, just reinstall!

Install Instructions

sh -c "$(wget https://github.com/isaacwisdom/RemarkableLamyEraser/raw/v2/scripts/LamyInstall.sh -O-)"

Uninstall Instrucions

sh -c "$(wget https://github.com/isaacwisdom/RemarkableLamyEraser/raw/v2/scripts/LamyUninstall.sh -O-)"

Usage

The default configuration has the trigger "press and hold" mapped to the effect "erase", and the trigger "double click" mapped to the effect "undo". However, you configuration can be customized by changing the configuration file at ~/.config/LamyEraser/LamyEraser.conf (for example, by running nano ~/.config/LamyEraser/LamyEraser.conf). In this file, you can freely assign effects to different triggers.

The recognized triggers are:

  • click
  • double-click
  • triple-click
  • quadruple-click
  • quintuple-click
  • press&hold
  • double-press&hold
  • triple-press&hold
  • quadruple-press&hold
  • quintuple-press&hold

Effects are divided into tools and actions :
Actions are compatible with click-type actions. The available actions are:

  • toolbar : Presses the toolbar panel button
  • writing : Presses the writing utensil button
  • undo : Presses the undo button
  • redo : Presses the redo button

Tools are compatible with press and hold type triggers, or with click type triggers as toggles. The available tools are:

  • eraser : Changes to eraser tool. on deactivation, changes back to writing utensil
    note that on the RM2, this mode uses special features available from the marker plus.
  • select : Changes to select tool. On deactivation, changes back to writing utensil

After making changes to the config, run this command to restart the program:

systemctl restart LamyEraser.service

You can also check your current config by running the program directly

systemctl stop LamyEraser.service
RemarkableLamyEraser

TODO:

  • toltec package

About

Turns the button on the Lamy Pen EMR into an eraser on the reMarkable.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 91.6%
  • Shell 4.8%
  • QMake 1.9%
  • Dockerfile 1.7%