OpenOffice.org - najpopularniji slobodni kancelarijski paket; obrada teksta, tablice, prezentacije, baze podataka; preuzmite besplatno sa http://sr.openoffice.org
 

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.

libo_flat_thumb.png

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).

 

May 27, 2013 4:35 AM | english, fsn, libreoffice, tdf


Komentari

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!). :)

Objavio David u June 11, 2013 11:07 AM

Thanks David, I have posted an updated zip file in the blogpost. At this moment that is the most recent version (June 4, 2013).

Objavio Goran u June 15, 2013 4:58 AM

Goran,
super je ovo!
Isprobali i instalirali (webupd8.org), sve radi.

Hvala!

LP, b

Objavio Blaž u June 17, 2013 9:53 AM

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 ;-)

Objavio ConnyLo u June 17, 2013 4:22 PM

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.

Objavio Goran u June 18, 2013 6:43 AM

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.

Objavio Slysi u June 18, 2013 3:26 PM

Thanks Slysi, fixed. It would fail if there was a png file in the current directory, with quotes it works ok.

Objavio Goran u June 19, 2013 2:24 AM

I think this is probably one of the best improvements to LibreOffice ever.

Objavio Saurav Sengupta u June 22, 2013 9:07 PM

Please!! update your "images_flat.zip" for LibreOffice 4.1. The current has errors with new taskbar. Thanks.

Objavio anon66 u August 3, 2013 3:29 AM

Thank you for great icons!
Хвала!

Objavio Zygmunt u August 12, 2013 12:35 PM

Objavite komentar









Zapamti lične podatke i za naredni unos?




Zbog povećane količine SPAM-a u komentarima, prinuđen sam da vas malo maltretiram... Kao što je i očekivano, upišite dve reči sa slike u polje ispod (ako su reči nejasne, kliknite na crvene strelice za novu kombinaciju):



Slanjem komentara odobravate prikazivanje i trajno arhiviranje teksta komentara na ovom blogu uz uslov navođenja unesenog imena autora i zadržavate sva ostala prava i punu odgovornost za objavljeni sadržaj.




GNOME lover
blog.goranrakic.com - Goran Rakić / Горан Ракић
Objavljeno pod uslovima licence Creative Commons Autorstvo 3.0 Srbija.
Sva prava i odgovornost za objavljene komentare zadržavaju njihovi autori.

Creative Commons License