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
This commit is contained in:
Andreas Kemnade 2024-04-04 18:22:12 +02:00 committed by Stefan Hansson
parent c5bb75e4d0
commit d928c75e7b
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD
2 changed files with 5 additions and 3 deletions

View file

@ -1,8 +1,8 @@
# Reference: https://postmarketos.org/uipkg # Reference: https://postmarketos.org/uipkg
# Maintainer: Ferenc Bakonyi <bakonyi.ferenc@gmail.com> # Maintainer: Ferenc Bakonyi <bakonyi.ferenc@gmail.com>
pkgname=postmarketos-ui-fbkeyboard pkgname=postmarketos-ui-fbkeyboard
pkgver=2 pkgver=3
pkgrel=1 pkgrel=0
pkgdesc="Plain framebuffer console with touchscreen keyboard support" pkgdesc="Plain framebuffer console with touchscreen keyboard support"
url="https://github.com/bakonyiferenc/fbkeyboard" url="https://github.com/bakonyiferenc/fbkeyboard"
arch="all" arch="all"
@ -22,5 +22,5 @@ package() {
} }
sha512sums=" sha512sums="
db617546a5d8de1307e3b45bd3dbf07b62f0b6f2cb25b486dd0c46533d21af0cd6e7c97ade3074f57d982922ad148344909096803df9faa56be00b348c53c8c5 fbkeyboard.init bed2c48abfac7cc9bc16fb16cd3ae3a7048121d2867b961458f0d3a9520e16598c8115a7b00808bded64904956aea445fa31a3106c52bab87cfba3420be309b8 fbkeyboard.init
" "

View file

@ -21,4 +21,6 @@ start_pre()
"the fbkeyboard service or built in." "the fbkeyboard service or built in."
fi fi
fi fi
# save energy
echo 0 >/sys/class/graphics/fbcon/cursor_blink
} }