gusbemacbe / suru-plus-folders

It allows to change the color of folders
MIT License
32 stars 3 forks source link

color doesn't change . #25

Closed Abd3lwahab closed 4 years ago

Abd3lwahab commented 4 years ago

Hi, I used suru-plus-folders to change folder colors with this commands

$ sudo suru-plus-folders -C blue --theme Suru++-Ubuntu
suru-plus-folders: Changing color of folders to 'blue' for 'Suru++-Ubuntu' ...
gtk-update-icon-cache: The generated cache was invalid.

then nothing changed and color still orange "default" , When i checked with : suru-plus-folders -l --theme Suru++-Ubuntu

List of available colors:

   aubergine
 > blue
   bordeaux
   canonical
   cyan
   darkblue
   green
   orange
   purple
   red
   vermillion
   yellow

so what is the problem here ?

SmartFinn commented 4 years ago

The color was actually changed, but cache generating is failed. The issue should be related to Suru++ Ubuntu. Maybe the theme has icons with an invalid name, again.

SmartFinn commented 4 years ago

Yep, the following icons have invalid charset in name:

 $ > LC_ALL=C find Suru++-Ubuntu/ -not -iregex '[-_/\.+@a-z0-9]+' -print
Suru++-Ubuntu/apps/16/propriet??-di-applicazione.svg
Suru++-Ubuntu/apps/scalable/propriet??-di-applicazione.svg
Suru++-Ubuntu/apps/symbolic/propriet??-di-applicazione-symbolic.svg

You can delete it to fix the issue.

Abd3lwahab commented 4 years ago

Thanks, it worked.