Posts by tokul

    I ended up getting a passively cooled mini PC based on the Celeron N5105 which is a quad core 10w CPU.

    Intel NUC 11 comes with Core i3-i7

    Celeron N5105 - 4 cores, 2.0 GHz, L2 cache1.5 MB, L3 cache 4 MB, UHD Graphics (24 EUs) 450-800 MHz, 2 × DDR4/LPDDR4X-293, 10 W

    Even I3 1115 got more cache and faster graphics support than that Celeron. i5 or i7 will outdo Celeron N5105 in cores.

    You just got yourself more options in case selection (if you went with mini-itx mobo and custom case), lower wattage and little less performance than NUC11.

    The only 5105 option that I see in local store is essentially non-Intel version of slower NUC at the Gen7 NUC price range.

    swap.conf is for making persistent configuration change which survives reboot.

    If you continue to use swap.conf, you would have to select swap file location which is accessible at the time when script is executed or change swap.service priorities. I am not the fan of debugging systemd and not the fan of using swap files, if it is not obvious at this point.

    You describe situation with USB media not mounted when swap file is created.

    Disk IO performance is about 100 times slower than memory performance. You would not want to have any memory read or write operations in file based swap.

    Please note that you are not running out of memory if free column in Linux free command has very small number. Your actual free memory is in last 'available' column. You will be running out of memory only when Linux starts killing running processes.

    Original poster was almost right about the way to activate swap manually. They only missed mkswap command and did not realize that swapon can activate individual swaps.

    1. dd to create file in writable location. Preferably not on SD card or SSD with limited write counters.

    dd if=/dev/zero of=/var/media/DISK_LABEL/swapfile bs=1M count=256

    2. format that file with mkswap

    mkswap /var/media/DISK_LABEL/swapfile

    3. swapon that file

    swapon /var/media/DISK_LABEL/swapfile

    those are main steps from LibreElec code responsible for stuff in swap.conf. Other steps only ensure that parent directory exists and secure swap file permissions.

    SWAPFILESIZE value is a number. If you put "other", you would just make swap creation command to error out.

    If you need more memory on your box, get more memory. Don't treat swap as "temporally" memory that you will be using permanently by ignoring performance hit that you get there.

    Instructions that you linked tell you where that swap file is. Technically they are probably for older LibreElec as current swapfile location is configurable. Remember that LibreElec is not regular Linux, you can't use Ubuntu instructions on LibreElec without understanding what they do and you can't put random stuff in its root file system.

    If 256MB swap is improvement over 128MB, remember how much memory your cell phone has and find some dimes in your couch for real memory.

    How can i fix that? How can i run echo in the same way as on every other linux?

    Change your command practices and stop using useless "-exec echo {} \;" argument in find. That's default find output and it does not need -exec echo.

    I won't argue about busybox find not supporting -ls, cause I understand that not all environments are equal and I accept it.

    you are not using gnu find or regular shell and you do not have coreutils installed. your echo comes from busybox shell and is not available as executable.

    Technically 'find /input/path -type f -name "*.mkv" -exec echo {} \;' is the same as 'find /input/path -type f -name "*.mkv"'

    Control Panel button with your name on top right corner -> Settings -> Notifications.

    Or just log out and browse anonymous.

    If you are getting email notifications, I don't recall making any efforts to turn them off and I am not getting any.

    I've install LibreELEC 9.2.6 on to VMWare virtual machine from LibreELEC-Generic.x86_64-9.2.6.ova file. Nothing modified.

    After this i've install Locale addon and set UTF8.ru_RU locale. The result can be seen on the screenshots. The third screenshot was made with Arial fonts set in the skin settings.

    Perhaps still, not all fonts in the LibreELEC contain symbols to UTF8.ru_RU locale?

    Screenshots


    In order to see "Рыцари справедливости" as name of your movie, environment should

    1. Have "Рыцари справедливости.mp4" file on file system written in utf-8

    2. Run filename through windows-1251 to utf-8 converter

    3. Display converted output in UTF-8 UI.

    That's only one of the ways for breaking it. Step 1 and 2 can be done other way by writing file with wrong name into file system.

    I got "На Дерибасовской..." file on generic x86_64 9.2.6 libreelec and it is displayed correctly in ls or GUI. MC displays these characters as question marks, but it does calculate byte length for every ? properly.

    Check how you can see those files in ls command output in ssh client that is running in UTF-8. You have to check what you got on your file system before starting to debug MC or Kodi.

    So it's a skin problem. Nice :)

    It is not. Screenshots in Georgian problem show display with symbols that UI can't display. Original post shows screenshot of Russian that can't get symbol length in bytes right. There is no evidence that data is encoded properly.

    "Рыцари справедливости" is "Рыцари справедливости" when utf-8 text is treated as windows-1251.

    In X window your fonts are not running in specific encodings. They have symbols matching specific Unicode set of characters. Having correct font won't help, if application does not know correct symbol that it should display.

    Georgian problem needs fonts with Georgian character support (Unicode Range "Georgian" 0x10A0 to 0x10FF). This problem needs to read Russian characters properly.