PDA

View Full Version : Picon cleanup utility



bassethound
02-09-11, 09:29
Originally Posted by MiLo@OpenPLi
Built a small script to clean up Picon directories. What it does:

- Looks for picons on whatever you've mounted.

For each picon path found, it does the following:
- Convert symbolic links into hard links (more efficient)
- Remove all png files that aren't service references.

This is definitely not convenient if you are creating or editing icon sets. But if you're just using them, the script will typically reduce the number of files in the picon directories by about 40% and also cut the number of directory accesses needed to find a picon in half. And it removes unused icon files.

Just copy the script anywhere on the box, and run it from a telnet session (for example, "python /tmp/piconoptimizer.py"). No need to stop or restart enigma2

Unzip the attachment & follow the instructions above.