Last active
December 14, 2023 04:09
-
-
Save llinfeng/a1a282ec3e0d6d2510bf2c4b04a7940c to your computer and use it in GitHub Desktop.
Force full-screen refresh on e-ink monitors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance, force ; Allow only one instance of this script to be running. | |
#Persistent ; To stop the script from exiting. | |
; Here, press F1 to trigger the black/white flash | |
F1:: | |
; Source: https://superuser.com/questions/662264/i-would-like-to-make-the-screen-go-black-every-8-seconds-how | |
Gui, Color, 000000 | |
Gui, Show, x-5000 y-20 w8000 h8000 | |
sleep 333 | |
Gui, Color, FFFFFF | |
Gui, Show, x-5000 y-20 w8000 h8000 | |
sleep 333 | |
Gui, hide | |
return |
Credits: user lililywww.
Related but Dasung specific ahk script to control contrast/light/display-mode: https://gitee.com/CastleWei/dasung-helper/blob/master/dasung_ahk_release.ahk
Additional note on the display-time of black/white image: in the proof-of-concept script, the display-time is set to be 333ms. Though,
- When using the e-ink monitor locally, 150ms is sufficient ;
- When connecting to a remote Windows machine through RDP, 300ms is good enough.
Does anyone know of a good way to do this on (Ubuntu) Linux? I tried autokey but could not get it working for this use case.
@Validark Just a thought: You can research methods to launch a GUI window or object in a single color. Similar to the implementation above, if the full e-ink monitor displays black and white colors each for more than 300ms (or slightly longer), the ghosting texts/pixels will be eliminated.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Releated discussion - https://www.reddit.com/r/eink/comments/vigixb/forcing_a_fullscreen_refresh_on_booxdasung_eink/