I'm trying to figure out how to change the UI font on Kodi with Estuary (the default skin) installed on LibreELEC and/or OSMC. I have a mynewfont.ttf font file I want to use.
1 Answers
OSMC
- Copy the font file to
/usr/share/kodi/addons/skin.estuary/fonts/ - Edit
/usr/share/kodi/addons/skin.estuary/xml/Font.xml. For instance replace the stringarialwithmynewfont. You may also be able to add another font item to choose from altogether by copying the XML structure. - Use Kodi's "Interface settings" to select your new font.
LibreElec
This is quite complex and the only way this can be done is by creating a new modded skin based on the existing one. This is because on LibreELEC, most of the file system is read-only. The exception is /storage:
Start by copying the skin to the
/storagefolder and tweak its name:cp -R /usr/share/kodi/addons/skin.estuary /storage/.kodi/addons/skin.estuary-mod
Note that this may require you to enable SSH login (do that in the LibreELEC settings in Kodi).
This clone of the skin can be picked up by Kodi's addon manager, but we need to give the modded skin a unique name to differentiate it. Edit
/storage/.kodi/addons/skin.estuary-mod/addon.xmland change the line<addon id="skin.estuary" version="..." name="Estuary" provider-name="phil65, Ichabod Fletchman">into
<addon id="skin.estuary-mod" version="..." name="Estuary-mod" provider-name="phil65, Ichabod Fletchman">
Note that you must change both the id and name value.
Edit the
Font.xmlfile inside the modded skin'sxmlfolder. For instance replace the stringarialwithmynewfont:sed -i 's/arial/mynewfont/g' Font.xmlYou may also be able to add another font item to choose from altogether by copying the XML structure.Upload
mynewfont.ttfto/storage/.kodi/addons/skin.estuary-mod/fonts.Reboot Kodi to make Kodi find your modded addon:
rebootUse the Kodi UI and go to Addons -> My addons -> Look and feel -> Skin. Locate your modded skin (should have an X next to it), then activate it. Finally select to use it.
Use Kodi's "Interface settings" to select your new font.
If future Kodi updates causes the copied skin to become incompatible and inactivated, repeat the above process.
- 2,271