Try the new flat icon set for LibreOffice
There is an ongoing effort to develop the new flat icon set for LibreOffice. Please see this whiteboard wiki page for more info. The work is led by Issa Alkurtass. Icons are based on GNOME Symbolic theme and will probably be called Sifr in LibreOffice.
Building the icon set
The icons (stencils.svg) can be downloaded from the libodesign/flat-icons repository on GitHub.
In the SVG, each icon is the group or a clone with the ID property set to the icon name and the label is the same or set to just "icon". I used a Python script and Inkscape to export individual PNG files. To build the expected directory tree, the Python script will look for the same icon name in the Galaxy icon set and use the matching path when building the new set.
At first, we will need the Galaxy icon set. From the LibreOffice installation directory extract "share/config/images.zip" to the new "galaxy" directory. Next, download the most recent "stencils.svg" from the libodesign/flat-icons repository.
Now download cnvsvg.py script and run it as: python cnvsvg.py stencils.svg flat galaxy. As said, this will use Inkscape to extract individual icons to the "flat" directory, taking "galaxy" as the reference directory tree.
The flat icon set is not complete so to fill the missing icons we will use the Galaxy set again, but will also convert icons to grayscale for a better fit using ImageMagick:
for i in `find galaxy -name "*.png"`; do convert $i -channel RGBA -matte -colorspace gray $i.png; mv $i.png $i; done
Copy the flat icons over modified galaxy set (cp -r flat/* galaxy/) and create the new icon set archive (pushd galaxy; zip -r ../images_flat.zip *; popd).
Finally we will add this icon set to the installed LibreOffice. As we will not recompile the LibreOffice from the source code (see here for a required patch), the only option to add a new icon set is to replace an existing one. I do not like the Crystal set, so I will just copy "images_flat.zip" over "share/config/images_crystal.zip" in the LibreOffice instalation path. Restart the LibreOffice and select the Crystal set in the preferences.
If you want to try the new flat icon set quickly, download images_flat.zip that is built from "stencils.svg" as of 2013-06-04 (updated).
12 Comments
Jun 15, 2013 David
I am very grateful for the "images_flat.zip" that you have made available. I don't do "builds"! :( There has been some good development of this set. Would you be so kind as to make a more recent version of "images_flat.zip" with the latest changes? Many thanks (in any case!). :)
Jun 15, 2013 Goran
Thanks David, I have posted an updated zip file in the blogpost. At this moment that is the most recent version (June 4, 2013).
Jun 18, 2013 Blaž
Goran,
super je ovo!
Isprobali i instalirali (webupd8.org), sve radi.
Hvala!
LP, b
Jun 18, 2013 ConnyLo
Thank you very much! Your icon set is great! Please develop further on. It fits much better my design style and best of it - no colorful icons distracts from work ;-)
Jun 18, 2013 Goran
Hi ConnyLo,
Icons are by Issa Alkurtass. I wrote a python script to make them available for testing. The sources are on GitHub (https://github.com/libodesign/flat-icons) and the help is appreciated to complete the set.
Jun 19, 2013 Slysi
Thanks Goran - I found I needed quotes in that greyscale conversion command
for i in `find galaxy -name *.png`; do
needs to be
for i in `find galaxy -name '*.png'`; do
otherwise find throws an error.
Jun 19, 2013 Goran
Thanks Slysi, fixed. It would fail if there was a png file in the current directory, with quotes it works ok.
Jun 27, 2013 Saurav Sengupta
I think this is probably one of the best improvements to LibreOffice ever.
Aug 14, 2013 anon66
Please!! update your "images_flat.zip" for LibreOffice 4.1. The current has errors with new taskbar. Thanks.
Aug 14, 2013 Zygmunt
Thank you for great icons!
Хвала!
Jun 30, 2014 John
You can select these new icons now in Libre Office: go to >Options >View >User Interface >Style
Jun 30, 2014 Radomir
ima li opcija da se prevede tekst na srpski posto nisam toliko strucan sa engleskim, mislim koristim ga ali...