Skip to content

About

NewVirtualKeyBoard

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

NewVirtualKeyBoard for Enigma2 (E²)

GitHub repo size Visitors

⌨️ 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.


📊 Github status

checks release buildbot translations

Plugin Version Latest Release Release date Downloads Github last commit GitHub Activity

License: GPL v3 Python Platform Images Resolution Layouts Translations GitHub stars Pull Requests Welcome Issues Forks


📦 Installation

🌐 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.


🚀 Features

  • 🌍 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

🎮 Remote control keys

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
↔️ LEFT / RIGHT at the edge 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

🌐 Translations

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.


🛠️ Development

  • 🧪 tests/test_keyboard.py tests the plugin with stubbed enigma2 modules, on Python 2.7 and 3: python tests/test_keyboard.py 1920 (also 1280, 2560; --net queries 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/version on main starts the release workflow: packages and a GitHub release
  • 🤖 CI/ holds the cleanup bot (chmod, dos2unix, autopep8) and the package builder

🙏 Credits

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.

About

NewVirtualKeyBoard

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages