PINE64
How to install fbkeyboard on PostmarketOS? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: How to install fbkeyboard on PostmarketOS? (/showthread.php?tid=17346)



How to install fbkeyboard on PostmarketOS? - Ulfnic - 09-12-2022

I'm trying to find simple instructions for how to compile and implement fbkeyboard so it's running at TTY when it asks for login/password on PostmarketOS.

Repo: https://github.com/julianwi/fbkeyboard
Example of it running at tty login on a Pinephone: https://youtu.be/npKwMWr1F_0?t=1099

I've searched around a while but can't seem to find much. The repo's readme is somewhat helpful but i'm not used to Alpine's musl compiler or how to auto-start a program so it's runs at the TTY prompt.

Much thanks for any suggestions and if I find the answer i'll post it here.


RE: How to install fbkeyboard on PostmarketOS? - Ulfnic - 09-12-2022

The best answer was I needed to update to the latest pmOS which has TTYEscape which allows you to switch to TTY2 and launches the keyboard `buffyboard`, then kills it if you use the same combo to switch back. See: https://wiki.postmarketos.org/wiki/TTYescape

If you're not using TTYEscape a keyboard like `fbkeyboard` or `buffyboard` needs to be running as a service but that service needs to be stopped before switching to a TTY running a compositor or it'll continue to pick up finger presses in the background and type text.

To install fbkeyboard and it's service:
sudo apk add postmarketos-ui-fbkeyboard
sudo rc-service fbkeyboard start