New virtual keyboard Plugin with windows layout

There are 288 replies in this Thread which was already clicked 57,893 times. The last Post () by urie.

  • Why don't you do it with po and pot files? The way the code looks, most strings would already be prepared for this. That would be the normal standard that all enigma2 plugins actually have.


    And it wouldn't have to be selected via a language selection, but would automatically use the system language!


    Should be enough to add an init something like this and generate pot and po file

    WeatherPlugin/usr/lib/enigma2/python/Plugins/Extensions/WeatherPlugin/__init__.py at master · fairbird/WeatherPlugin
    Contribute to fairbird/WeatherPlugin development by creating an account on GitHub.
    github.com


    But I'm not a programmer, so I don't know exactly how it works. If you don't know yourself, I'm sure Lululla or KiddaC can give you some tips.


    EDIT:

    And it looks like you should have renamed the updated kle file before uploading it. There is now a 00000407.kle and a KLE00000407.kle. Apparently, the files are renamed again when downloaded from your git.


    KLE00000407.kle --> delete

    00000407.kle --> rename to KLE00000407.kle


    Then it should work.

  • I was confused as to what the problem is with languages but just noticed on newvirtual keyboard I have en UK

    Capture.PNG


    But when I go to press menu and select tasc screen comes up and I then go to Install Language


    it thinks United Kingdom is not installed .


    Capture1.PNG


    but as you can see it is installed.


    Capture2.PNG


    But to be honest I would never have known any different I remove all languages except gb when I install system.

    So no big deal plugin still works great :)

  • About kle00000407.kle fix it.

    Sorry can you try it to download german? For me the plugin now crashes



    With the attached .py the green and grey download icons for languages are fixed maybe you want to use it

    just tried the .py file yes grey and green icons showing but still wrong for me still thinks I need to install United Kindom

    Capture3.PNG


    but still to be honest personally I do not need to change languages.

  • Looks like you have en_US and not en_GB installed


    you can see in this folder which kle files are there

    /usr/lib/enigma2/python/Plugins/SystemPlugins/NewVirtualKeyBoard/skins/kle


    ('United Kingdom', 'en_GB', '00000809'),

    ('United States', 'en_US', '00020409'),


    other language codes can be found here

    Keyboard identifiers and input method editors for Windows
    Use keyboard identifiers and Input Method Editors (IMEs) to identify the keyboard type.
    learn.microsoft.com
  • Correct it was 00020409.kle and 00000401.kle files in that folder I have just installed united kingdom 00000809.kle


    And removed the other two
    Capture.PNG


    :smiling face:

  • fairbird , If possible is there anyway when installing you could read newvirtualkeyboard settings from /etc/enigma2/ settings file


    i,e


    config.NewVirtualKeyBoard.keys_layout=00000809


    so as to install chosen language .kle file.


    when I am installing via flash online with restore settings I install New Virtual KeyBoard from myrestore.sh

    i,e,


    Code
    # Install NewVirtualKeyBoard #
    wget https://raw.githubusercontent.com/fairbird/NewVirtualKeyBoard/main/installer.sh -O - | /bin/sh
  • About kle00000407.kle fix it.

    Sorry can you try it to download german? For me the plugin now crashes



    With the attached .py the green and grey download icons for languages are fixed maybe you want to use it


    only small typo wrong .. I will fix it soon

    Code
    menus/fhd

    not

    Code
    menus/hd40


    and work with me on dm920 with my image openpli 15.2 without any problems

    1.jpg



    2.jpg


    3.jpg

  • Basically, the installation script backs up the languages folder before deleting the plugin. After installing the new version, it restores the languages folder, containing all previously downloaded languages. Once you restart Enigma, the keyboard will open to the setting that stored in /etc/enigma2/Settings. Therefore, the problem with the restore script file from your side.


    You want to make sure... Download the plugin, download any language you want, test it, then restart. After that, install the plugin again using the install command, not through the script you're using. You'll find that the language hasn't changed.

  • Yes but that is on a system that has plugin still installed and files are still present in

    /usr/lib/enigma2/python/Plugins/SystemPlugins/NewVirtualKeyBoard/skins/kle/ folder


    I am installing on new installation of openatv but i restore settings and plugins so settings so files are not present in,

    /usr/lib/enigma2/python/Plugins/SystemPlugins/NewVirtualKeyBoard/skins/kle/ folder.


    It's ok I have modified myrestore.sh file and I just copy 00000809.kle from hard drive after new virtual keyboard installation.


    Code
    # Install NewVirtualKeyBoard #
    wget https://raw.githubusercontent.com/fairbird/NewVirtualKeyBoard/main/installer.sh -O - | /bin/sh
    rm -rf /usr/lib/enigma2/python/Plugins/SystemPlugins/NewVirtualKeyBoard/skins/kle/*.kle > /dev/null 2>&1
    cp -f /media/hdd/images/myfiles/00000809.kle /usr/lib/enigma2/python/Plugins/SystemPlugins/NewVirtualKeyBoard/skins/kle/00000809.kle
  • In this case I can not add extra code in plugin for what you need .. That you should be to add it in your restore script after install plugin directly download file from source to your image. like this

    Code
    wget https://raw.githubusercontent.com/fairbird/NewVirtualKeyBoard/main/installer.sh -O - | /bin/sh
    wget https://raw.githubusercontent.com/fairbird/NewVirtualKeyBoard/refs/heads/main/kle/kle00000809.kle -O /usr/lib/enigma2/python/Plugins/SystemPlugins/NewVirtualKeyBoard/skins/kle/00000809.kle

Your resource for Enigma2 system utility plugins

Find downloads and support for tools that monitor performance, manage system settings, provide detailed system info, and automate maintenance. Discover essential Enigma2 system utility plugins. Access downloads and support for performance monitors, maintenance tools, and system information managers.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!