Skip to content

About

Refresh screen button for the reMarkable Paper Pro (full e-paper refresh from the notebook toolbar)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rmpp-refresh

rmpp-refresh demo

One tap clears e-paper ghosting: in the notebook toolbar (above the three dots) and in the library sidebar (above Trash).

A Refresh screen button for the reMarkable Paper Pro: one tap redraws the whole e-paper screen (a full refresh that clears ghosting), in a notebook or in the library, and once after the on-screen keyboard opens. Runs without xovi and keeps working after a reboot.

Made for and tested on the reMarkable Paper Pro with OS 3.29. Other reMarkable models are not supported. Updates for newer OS versions may take some time to follow.

Part of the rmpp add-ons, built on rmpp-packages: it is installed by rmpp setup, loaded into xochitl at every boot by rmpp-preload (no xovi), and kept up to date with Vellum. How that differs from xovi: how it works.

Install

Start at rmpp-packages: it explains developer mode and has rmpp setup, the installer for all rmpp add-ons.

  • In rmpp setup (the desktop app or the script), tick Screen refresh button (rmpp-refresh; not selected by default).
  • It installs rmpp-preload with it (all packages and dependencies).
  • After a reMarkable OS update: Restore in rmpp setup.
  • Installing without rmpp setup, uninstalling, using it next to other mods, and building: docs/install.md.

Use

  • Notebook: tap Refresh screen in the toolbar, right above the three dots (⋯). It closes the toolbar menu, then redraws the whole screen (the same full refresh xochitl does by itself after some screens).
  • Library: tap Refresh screen in the left sidebar (☰), right above Trash.
  • Keyboard: nothing to do: the screen refreshes once after the on-screen keyboard opens (opening it leaves ghosting in the notebook; closing it already makes xochitl redraw the page).

How it works

librmpp-refresh.so is loaded into xochitl by rmpp-preload (/usr/lib/rmpp/preload.d/50-rmpp-refresh.so). It adds a ToolbarTool (QML, no moc) to the toolbar's layout (#toolbarLayout) just before xochitl's secondaryToolLoader_settingsMenu; tapping it closes the toolbar menu and, 400 ms later, asks xochitl's own ghost buster for a full refresh (DocumentView.ghostBuster.userRequestedClear()). In the library it adds an ark.controls.SidebarItem to the sidebar's layout just before #filterTrashed: the layout places it right above Trash and keeps other rows (such as other add-ons' entries) from overlapping it; tapping it uses the library's ghost buster (MainView.ghostBuster). It also watches QInputMethod::visibleChanged and calls the ghost buster 700 ms after the keyboard appears (after its slide animation), only while a document is open.

Build

Building and the development install: docs/install.md.

License

GPL-3.0-only. See LICENSE.

About

Refresh screen button for the reMarkable Paper Pro (full e-paper refresh from the notebook toolbar)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages