Posts by zbyna

    max37online

    I am on vmware and I am not able to reproduce your way b/c of
    [code=php]
    character map file `UTF-8' not found: No such file or directory
    cannot read character map directory `/usr/share/i18n/charmaps': No such file or directory
    LibreELEC:/ #
    [/php]

    according to: Linux: Define Locale and Language Settings - ShellHacks
    should be enough:
    [code=php]
    localedef -c -i hi_IN -f UTF-8 hi_IN.UTF-8
    locale -a
    [/php]

    I would set locale in python addon:
    [code=php]
    LibreELEC:~ # python
    Python 2.7.13 (default, Feb 28 2017, 07:41:10)
    [GCC 6.2.0] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import locale
    >>> locale.setlocale(locale.LC_ALL,'cs_CZ.utf8')
    [/php]

    Although there is quite interesting info about hacking :) libreELEC which enable to unpack read only system and change what one wants:
    HowTo – Update/Change openELEC/LibreELEC root ssh password – Dustplanet
    Wrightrocket: OpenElec on the Raspberry Pi

    max37online

    It seems we hit an old issue from times of openelec:
    OpenELEC Mediacenter - OpenELEC Forum - New Locale (1/1)
    add locales to build by henkwiedig · Pull Request #1001 · OpenELEC/OpenELEC.tv · GitHub
    and there is no public interest to change current state b/c ascii sorting should be enough for all :( sad but true

    It is possible to generate needed locale in Linux either with locale-gen or localedef - please see:
    Linux: Define Locale and Language Settings - ShellHacks
    and Locales in Debian
    I have tried but I hit the wall again:
    [code=php]
    LibreELEC:/ # localedef -i cs_CZ -f "UTF-8" 'cs_CZ.UTF-8'
    character map file `UTF-8' not found: No such file or directory
    cannot read character map directory `/usr/share/i18n/charmaps': No such file or
    [/php]

    So users have to cope with bad sorting in addon I am trying maintain:

    or choose another Linux distribution.

    Hi all,
    I have 2 questions:
    1. possible ssh issue ?
    seems like ssh server is broken in v LibreELEC-Virtual.x86_64-8.0.1.ova :


    in my kodi addon.
    There are 2 available locales in LibreELEC:
    [code=php]
    LibreELEC800:~ # locale -a
    C
    POSIX
    LibreELEC800:~ #
    [/php]
    and locale-gen is missing
    [code=php]
    LibreELEC800:/ # find -name "locale*"
    ./usr/bin/locale
    ./usr/bin/localedef
    ./usr/lib/python2.7/locale.pyo
    ./usr/share/X11/locale
    ./usr/share/X11/locale/locale.alias
    ./usr/share/X11/locale/locale.dir
    ./usr/share/i18n/locales
    LibreELEC800:/ #
    [/php]

    How to add cs_CZ.UTF-8 to available locales ?
    Thank you very much for clarification.