⌨️ A replacement for the virtual keyboard of Enigma2 images, based on the E2iPlayer keyboard (thanks SSS). By mfaraj57 & RAED (fairbird).
Made with a lot of 💞 for the Enigma2 community.
🌐 Online from telnet / SSH:
wget https://raw.githubusercontent.com/Masta2002/NewVirtualKeyBoard/main/installer.sh -O - | /bin/sh
📥 Or with a package from the latest release:
| Image | File | Command |
|---|---|---|
| openATV, OpenPLi, OpenViX, VTi, ... | .ipk |
opkg install /tmp/<file>.ipk |
| DreamOS | .deb |
dpkg -i /tmp/<file>.deb |
| any | .zip |
copy the usr folder to /usr on the box |
🔄 Restart enigma2, then choose the keyboard in Menu > System > NewVirtualKeyBoard setup (Text input method: New Virtual Keyboard). Removing the package puts the image's own keyboard back.
- 🌍 all 218 Windows keyboard layouts, drawn like the real keyboard on an ISO 48-key grid, with the flag of each language
- 🏳️ language key: OK switches to the next installed language, OK long opens a list of only the installed ones
- 📥 install languages one by one, or all at once: in the language list RED removes all installed languages, GREEN downloads all missing ones
- 🔎 search suggestions from Google, YouTube, Bing, DuckDuckGo or IMDb, in the language of the layout
- 🕘 search history, sorted while typing, with a size limit; RED deletes single entries
- 🔢 numeric keypad for number and PIN fields
- ✍️ dead keys (accents), AltGr, Shift, Caps Lock, multi-tap input with 0-9, USB keyboards
- 🖥️ HD, FHD and WQHD skins; font size, text alignment, flags and background adjustable
- 🗣️ translations with gettext, the texts follow the enigma2 language
- 🔄 online update check in the settings
| Key | Function |
|---|---|
| ⏺️ OK | type the selected key / take the selected suggestion or history entry |
| 🟢 GREEN | Enter: confirm the text and close |
| 🔴 RED | Backspace; in the search history: delete the selected entry |
| 🟡 YELLOW | AltGr |
| 🔵 BLUE | Shift |
| 🔤 TEXT | next installed keyboard layout |
| 🔀 PVR, PREVIOUS / NEXT | switch between keyboard, suggestions and search history |
| to the suggestions or the search history | |
| ⏩ CH+ / FAST FORWARD | insert space |
| ⏪ CH- / REWIND | clear the text |
| 🔢 0-9 | text input like on a phone (text field selected) |
| ⚙️ MENU | settings, install layouts, clear the search history |
| ℹ️ INFO | key help |
| ❌ EXIT | close without taking the text |
The texts are in locale/<language>/LC_MESSAGES/NewVirtualKeyBoard.po.
After changing texts in the code, run the Update translation templates
workflow (Actions tab) - it regenerates the .pot, merges it into every
.po, rebuilds the .mo files and opens a pull request. Translators only
edit the .po of their language.
- 🧪
tests/test_keyboard.pytests the plugin with stubbed enigma2 modules, on Python 2.7 and 3:python tests/test_keyboard.py 1920(also1280,2560;--netqueries the real suggestion services) - ✅ every push runs the checks workflow: compile on Python 2.7 and 3.9-3.14, the test for HD / FHD / WQHD, ruff, and the ipk / deb / zip packages
- 🏷️ a new version in
usr/.../NewVirtualKeyBoard/versionon main starts the release workflow: packages and a GitHub release - 🤖
CI/holds the cleanup bot (chmod, dos2unix, autopep8) and the package builder
Original code SamSamSam (E2iPlayer). Contributors: mfaraj57 and RAED
(fairbird), madmax88 and the linuxsat-support forum. Skin and amends:
KiddaC. Ideas: giorbak and urie; Greek translation: giorbak; Polish
translation: Adam Farmer. Flags partly from
flag-icons (MIT, see
skins/FLAGS-LICENSE.txt).
📜 Licensed under the GNU GPL v3, see LICENSE.