Ttyescape Mobile Friendly On Gnu Linux Distros

20 Feb 2023 - Linux Mobile

Initially, when I stepped foot in GNU/Linux, I realized that the operating system only writes code to run on specific hardware that has not been optimized, even Android isn’t still optimize yet.

Once I got the rootfs and mainline kernel running on my Nexus 7, I realized something. Most of the original distros like Debian(Ubuntu), ArchLinux, Fedora, OpenSUSE, Gentoo, Slackware, Linux From Scratch(LFS) etc. All booting and login from tty0 to tty9, depending on the distro’s settings.

TTYEscape
TTYEscape, buffyboard and hkdm daemon

At that time, I wanted to have a virtual keyboard to input upgrade commands and install more login screens, the GUI. I had to add a keyboard and mouse hardwares, the process was too complicated. Since mobile-friendly must be virtualization and hardwares should removed, such as the mouse will be replaced by touch-screen/touch-gestures, the keyboard must have virtual/on-screen keyboards instead.

After that, in the postmarketOS community (AlpineLinux) appeared fbkeyboard, aiming to bring virtual keyboard to tty, written in C, but the keyboard layout is not friendly, quite similar to the keyboard of SailfishOS. Then Caleb Connolly dev, came up with ttyescape, which combines triggerhappy and fbkeyboard, to launch the on-screen keyboard when holding down Power button + 3 times the Volume Down button.

Nexus 7 run ttyescape
Nexus 7 run ttyescape, buffyboard and hkdm daemon

Some time later, in the community, there was a hkdm daemon written by elagost dev in Rust, along with buffyboard. Now ttyescape combines hkdm and buffyboard again perfectly on GNU/Linux tty. So I took it from the ArchLinux AUR to compile for armhf on systemd, a simple wish now come true.

Checking these links below:

 

Recent Posts:

If you have armhf or arm64 GNU/Linux available, it’s quite... more

First of all, GNU/Linux running mainline kernel has 2 main... more

Because Android is a fork of GNU/Linux, that means only... more

When I created my personal blog from basic jekyll barebone,... more

U Boot On Tegra Soc

12 Feb 2023 - tegra

As mentioned in the previous post, Nexus 7 2012 grouper/tilapia... more

Fosdem 2023

05 Feb 2023 - linuxmobile

This event could view online at this link. They... more

I finished barebone static blog from Jekyll documents and... more

This is hard part about Tegra 3 T30L, which I... more

This post, I share my experiences from I/O and CPU... more

I wrote some lk2nd experiences at previous post. Xiaomi Redmi... more

How the system booting!? Let’s start, since Google created compatible... more

This is the first SoC on ARM. Nvidia made ULP... more

When I wanna push source code to git, I saw... more

When I was online, I saw some github.io website. I’ve... more

 
More articles