From d928c75e7b1ae8084da1a610d421edd42d165e48 Mon Sep 17 00:00:00 2001 From: Andreas Kemnade Date: Thu, 4 Apr 2024 18:22:12 +0200 Subject: [PATCH] postmarketos-ui-fbkeyboard: fix energy waste (MR 5001) Turn off blinking cursor as on e-ink screens this wastes energy. [ci:skip-build]: already built successfully in CI --- main/postmarketos-ui-fbkeyboard/APKBUILD | 6 +++--- main/postmarketos-ui-fbkeyboard/fbkeyboard.init | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/main/postmarketos-ui-fbkeyboard/APKBUILD b/main/postmarketos-ui-fbkeyboard/APKBUILD index 03ac2376d..fd159a278 100644 --- a/main/postmarketos-ui-fbkeyboard/APKBUILD +++ b/main/postmarketos-ui-fbkeyboard/APKBUILD @@ -1,8 +1,8 @@ # Reference: https://postmarketos.org/uipkg # Maintainer: Ferenc Bakonyi pkgname=postmarketos-ui-fbkeyboard -pkgver=2 -pkgrel=1 +pkgver=3 +pkgrel=0 pkgdesc="Plain framebuffer console with touchscreen keyboard support" url="https://github.com/bakonyiferenc/fbkeyboard" arch="all" @@ -22,5 +22,5 @@ package() { } sha512sums=" -db617546a5d8de1307e3b45bd3dbf07b62f0b6f2cb25b486dd0c46533d21af0cd6e7c97ade3074f57d982922ad148344909096803df9faa56be00b348c53c8c5 fbkeyboard.init +bed2c48abfac7cc9bc16fb16cd3ae3a7048121d2867b961458f0d3a9520e16598c8115a7b00808bded64904956aea445fa31a3106c52bab87cfba3420be309b8 fbkeyboard.init " diff --git a/main/postmarketos-ui-fbkeyboard/fbkeyboard.init b/main/postmarketos-ui-fbkeyboard/fbkeyboard.init index abbc4b855..16e43a1b7 100644 --- a/main/postmarketos-ui-fbkeyboard/fbkeyboard.init +++ b/main/postmarketos-ui-fbkeyboard/fbkeyboard.init @@ -21,4 +21,6 @@ start_pre() "the fbkeyboard service or built in." fi fi + # save energy + echo 0 >/sys/class/graphics/fbcon/cursor_blink }