Open Emru1 opened 2 months ago
Hey! This is cool and could be an interesting addition. I'm wondering, when are you using it? I don't recall seeing too many "ghosts", I felt like the screen was doing a pretty good job at refreshing itself 🤔
Well, from time to time, when I move between programs, or when I think font in koreader starts to be a little blurry, then I launch refresh I'm also wondering, is it possible to manually call hardware refresh, instead of this trick with fulscreen X program, but I had no time recently to check it
I'm happy to add it, but I think we'll want it to have an alpine/pmos package first. I'm not so keen on asking users to compile stuff on their reader honestly. If it has a package I can easily just add it to the list of packages to be installed in the README, and update rc.lua to include a button for it.
I've created simple program for screen refreshing and ghosts removal (basically swapping white and black, fullscreen). I've also modified
rc.lua
to use it via button. Entry in crontab could also be desirable. Program is available here: https://git.sr.ht/~emru/scref/ Compile withmkdir -p ~/.local/bin/; gcc -lX11 scref.h -o ~/.local/bin/scref
. Needslibx11-dev
package on Alpine/PostmarketOS. Here isrc.lua
diff:What do you think? Is it worth to add it to
air
?