fbkeyboard fails because it cannot find fonts
Describe your issue
What's the expected behaviour?
postmarketOS boots, and fbkeyboard is available.
What's the current behaviour?
fbkeyboard is not available. rc-status -c
reports it as crashed.
How to reproduce your issue?
boot after clean install.
What device are you using?
asus-grouper
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v22.06
On what environment did you encounter the issue?
Environments
-
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: fbkeyboard
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
2022-10-21
Additional information
fbkeyboard from edge has a dependency on the font-dejavu
package,
but this has not always been the case.
Previously fbkeyboard depended on ttf-dejavu
.
This matters, because fbkeyboard expects fonts in a particular place.
Quoting the fbkeyboard README:
./fbkeyboard [-h] [-d inputdevice] [-f font] [-r rotation]
font has to be a ttf file. If no font was given, "/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf" will be used.
Please note that font-dejavu
provides /usr/share/fonts/dejavu/DejaVuSans.ttf
instead.
Telling fbkeyboard to use this file, using its -f
option, fixes this issue for me.