Turns the button on the Lamy Pen EMR into an eraser on the reMarkable.
C
306
71 commits
updated Feb 2, 2025
Standalone tool that turns the button on the Lamy Pen into an eraser on the reMarkable.
Also confirmed to work with these other styli:
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!
Make sure your reMarkable is connected to the internet and then run the following command:
sh -c "$(wget --no-check-certificate https://raw.githubusercontent.com/isaacwisdom/RemarkableLamyEraser/v1/LamyInstall.sh -O-)"
Need more help? Check here.
Make sure your reMarkable is connected to the internet and then run the following command:
sh -c "$(wget --no-check-certificate https://raw.githubusercontent.com/isaacwisdom/RemarkableLamyEraser/v1/LamyUninstall.sh -O-)"
Press and hold to erase, release to use as a normal pen. Double click the button to undo. Note that at the moment, double pressing to undo only works for portrait orientation documents.
Further customization can be done by adding arguments to ExecStart line of the LamyEraser.service file. This can be opened with nano /lib/systemd/system/LamyEraser.service.
The supported arguments are:
--press Press and hold to erase, release to use as a normal pen. This is the default behavior.
--toggle Press the button to erase, press the button again to swtich back to a normal pen.
--double-press undo Double click the button to undo. This is the default behavior.
--double-press redo Double click the button to redo.
--left-handed Use this option if you are using left handed mode.
For example, this line would use the toggle mode and redo on a double click:
ExecStart=RemarkableLamyEraser --toggle --double-press redo
To apply your config, run these commands:
systemctl stop LamyEraser.service
systemctl daemon-reload
systemctl start LamyEraser.service
When you press the button on the Lamy Pen, an input event with code BTN_TOOL_RUBBER is sent into dev/input/event1. Essentially, this tricks the reMarkable into thinking you are using the eraser side of the Marker Plus.
codex-x86_64-cortexa9hf-neon-rm10x-toolchain-3.1.15.sh)sudo sh codex-x86_64-cortexa9hf-neon-rm10x-toolchain-3.1.15.sh)source /opt/codex/rm11x/3.1.15/environment-setup-cortexa7hf-neon-remarkable-linux-gnueabi)main.c using the CC environment variable (e.g. $CC -O2 main.c)
no such file or directory, copy the command and execute it directly instead of using $CC, e.g. arm-remarkable-linux-gnueabi-gcc -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/opt/codex/rm11x/3.1.15/sysroots/cortexa7hf-neon-remarkable-linux-gnueabi -O2 main.c)C
80.4%
Shell
14.1%
QMake
5.5%
Turns the button on the Lamy Pen EMR into an eraser on the reMarkable.
C
306
71 commits
updated Feb 2, 2025
Standalone tool that turns the button on the Lamy Pen into an eraser on the reMarkable.
Also confirmed to work with these other styli:
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!
Make sure your reMarkable is connected to the internet and then run the following command:
sh -c "$(wget --no-check-certificate https://raw.githubusercontent.com/isaacwisdom/RemarkableLamyEraser/v1/LamyInstall.sh -O-)"
Need more help? Check here.
Make sure your reMarkable is connected to the internet and then run the following command:
sh -c "$(wget --no-check-certificate https://raw.githubusercontent.com/isaacwisdom/RemarkableLamyEraser/v1/LamyUninstall.sh -O-)"
Press and hold to erase, release to use as a normal pen. Double click the button to undo. Note that at the moment, double pressing to undo only works for portrait orientation documents.
Further customization can be done by adding arguments to ExecStart line of the LamyEraser.service file. This can be opened with nano /lib/systemd/system/LamyEraser.service.
The supported arguments are:
--press Press and hold to erase, release to use as a normal pen. This is the default behavior.
--toggle Press the button to erase, press the button again to swtich back to a normal pen.
--double-press undo Double click the button to undo. This is the default behavior.
--double-press redo Double click the button to redo.
--left-handed Use this option if you are using left handed mode.
For example, this line would use the toggle mode and redo on a double click:
ExecStart=RemarkableLamyEraser --toggle --double-press redo
To apply your config, run these commands:
systemctl stop LamyEraser.service
systemctl daemon-reload
systemctl start LamyEraser.service
When you press the button on the Lamy Pen, an input event with code BTN_TOOL_RUBBER is sent into dev/input/event1. Essentially, this tricks the reMarkable into thinking you are using the eraser side of the Marker Plus.
codex-x86_64-cortexa9hf-neon-rm10x-toolchain-3.1.15.sh)sudo sh codex-x86_64-cortexa9hf-neon-rm10x-toolchain-3.1.15.sh)source /opt/codex/rm11x/3.1.15/environment-setup-cortexa7hf-neon-remarkable-linux-gnueabi)main.c using the CC environment variable (e.g. $CC -O2 main.c)
no such file or directory, copy the command and execute it directly instead of using $CC, e.g. arm-remarkable-linux-gnueabi-gcc -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/opt/codex/rm11x/3.1.15/sysroots/cortexa7hf-neon-remarkable-linux-gnueabi -O2 main.c)C
80.4%
Shell
14.1%
QMake
5.5%