Skip to content

Conversation

@NicoM1
Copy link

@NicoM1 NicoM1 commented Feb 23, 2025

While using remarkable_mouse, the remarkable UI stays active, so I have to make sure I'm on an empty document and hope I don't accidentally click the button to show the pen panel.

I wanted to add an option to just disable the UI completely so the remarkable can be used as a pen-tab without thinking of what's on the screen at all.

I was hoping to send SIGSTOP and SIGCONT signals to the UI so I could just pause and resume it without risking losing any documents. This does work, however the remarkable must have some kind of watchdog process monitoring the UI, if it sits stopped for more than 30 seconds or so, the whole device reboots.

Instead, I went with the simpler option of just killing the UI completely. This closes open documents without saving them (unfortunately).

When done using remouse, it re-launches the remarkable UI. However, if the ssh connection was lost, or python exited non-gracefully, the UI won't be restarted and you must force-shutdown the remarkable by holding the power button.

This doesn't necessarily need to be merged, if the idea of force-closing documents is concerning. But figured I'd send it anyway and I'll be using it locally.

If I can work out which watchdog process is re-starting the device when using SIGSTOP, then maybe a more graceful pause/resume could be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant