This website requires JavaScript.
Explore
Help
Sign In
forge
/
pmaports
Watch
1
Star
0
Fork
You've already forked pmaports
0
Code
Issues
2
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
f757d06824
pmaports
/
main
/
ttyescape
/
ttyescape.post-install
5 lines
55 B
Text
Raw
Normal View
History
Unescape
Escape
main/ttyescape: new aports (MR 2309) Add ttyescape, a script and triggerhappy configuration to allow mobile device users to access and use a shell without having to plug in to a computer. One of the largest limitations with a mobile device is the lack of keyboard, for mainstream OSs like Android and iOS, this is a non-issue as the whole OS stack is built to automatically recover in case of a crash / hang, hiding the internal state of affairs from users and making use of careful design to minimise the impact. When bringing Linux to mobile, we carry not only the benefits of the Linux desktop but also it's limitations. In the event that your desktop manager goes haywire or hangs completely, or your graphics drivers get unhappy, the ability to quickly jump to a tty and start killing bad behaving programs or reset your display manager is one that most of us take for granted. But when hit by similar errors on a mobile device there is no such recourse available, users either have to reboot and hope that the issue doesn't occur again, or pull out a laptop and pull up a shell (assuming ssh is enabled and the rndis interface comes up). ttyescape proposes to solve this issues by pieceing together several already available tools, notably: - triggerhappy, a tool used to perform actions when certain buttons or key combinations are pressed with no dependencies on the display manager in use. - fbkeyboard, a framebuffer keyboard for tty's, it renders on top of the current tty and uses the device touchscreen as input.
2021-07-04 19:14:58 +00:00
#!/bin/sh
main/ttyescape: upgrade to hkdm/buffyboard (MR 2713) This upgrades ttyescape to use buffyboard, a new fbkeyboard replacement by @Cherrypicker. It adds a lot of missing keys and uses the same layout as Phosh's Squeekboard, so should feel much more like home for Phosh users. This also switches to the new HKDM daemon for hotkey handling, replacing triggerhappy. [ci:skip-build] already passed
2021-11-27 21:21:16 +00:00
# Enable hkdm
rc-update -q add hkdm default
Reference in a new issue
Copy permalink