New network icons schema to Gnome Dia

After a lot of time searching some friendly icons to be used in Dia and no results obtained, I decided to face this problem and generate my own icons collection.

I like Gnome Gorilla’s icons style very much, so I decided to convert most of them to Dia. I had to mix some icons to make a new in according its preposition.

I found out on Net the svg2shape.xslt to make the conversion, but many erros came up when I tried to convert an Inkscape plain SVG.

Problems associated with compability was seen. An example about is that a shape file doesn’t accept opacity. Many Gnome icons have opacity and they are constructed using a different structure to be in conformity with Dia. Another problem detected is that shape files don’t accept colors by their names. You can’t use black to describe a black color, only hexadecimals six digits are accepted.

I’ve written a PHP script to read the shape file created by the command xsltproc and make some modifications to correct them. In a future post I can explain better this and post the hard way to get this.

Here you can see a simple result of the conversion and adaptation:

Gnome icons scheme to Dia

Gnome icons schema to Dia

If you liked it, click here to make the icons download. To add this in your Dia you just need to follow the next step:

# cd /usr/share/dia

# cp PATH/rib-network.tar.gz .

# tar zxvf rib-network.tar.gz

If your Dia is started please close this and start it again. So in your combo list choice RIB-Network. Now you can be free to create your Network diagrams with a lot of colors and beauty. :)

27 comentários até agora

  1. [...] por Thiago Ribeiro (ribeiro·itΘgmail·com) – referência [...]

  2. Giuliano on

    Muito boa a sua iniciativa!
    Várias vezes iniciei um tentativa de melhorar o Dia e nunca levei adiante…
    Pena que o projeto está parado.

  3. thiagoribeiro on

    Cadastrei o projeto no sourceforge.net

    http://gnomediaicons.sourceforge.net/

  4. Diego Medeiros on

    Valeu mesmo. A dias procurava alguma coisa do tipo, pois os icones default do dia sao realmente feios que doi.

    Um outra que voce poderia fazer é construir um tema de icones com os do Tango Project. Se gostar da ideia, podemos trabalhar em cima disso.

  5. Benjamim on

    Fantástico !! Que coincidencio, hoje mesmo eu estava procurando ícones para o DIA e percebi que o projeto estava parado … é uma pena, pois é um tipo de aplicativo que faz muita falta no Linux. Parabéns pela iniciativa !

  6. welrbraga on

    Excelente iniciativa.

  7. Raul Libório on

    Pow, muito legal mesmo!
    Vou colar contigo nessa!

  8. [...] neben an über einen anderen Blog, der genau dies zumindest für mich in Dia ausgleicht, in dem ich die Elemente bekomme und Netzpläne zu [...]

  9. Tobias on

    Thank you for the icon set, exactly that is the stuff that is missing in dia. I am thinking about converting other svg-icons to dia shapes. Can you please post the information about how you managed the issue with the transparencity? I am also very interested in your php script…

    Thank you and greetings,
    Tobias.

  10. lucac81 on

    Hi great idea, it’s just what I was searching…
    Can you provide instruction on how convert icons? I’m interested in creating a Tango shapes set and your actual package it’s still limited (No printers, no firewall icon) so I’m interested in expanding the collection

  11. thiagoribeiro on

    Guys, I’ll write a new post to describe all the conversion process.
    But I think that we can organize some tasks to make a great project and improve this work that I started.
    What do you think about it? Does someone here interested to participate?

  12. Renato Diogo on

    Thiago, excelente serviço, ficou fantástico. Parabéns….

    Sucesso

  13. evandrofisico on

    Então cara, eu vi que além de vc tem outras pessoas que fizeram icones SVG (especialemtne seguindo o tema tango) pra o dia, mas ninguém criando shapes. Usei o conversor com xsltproc pra criar os arquivos .shape mas eles ficam com tamanho incorreto e etc. Tem como voce publicar o script php pra fazer as mudanças? eu já teria um conjunto grande de shapes com licença GPL recolhidos de outras pessoas para adicionar ao projeto e alguns que eu mesmo estou criando.

  14. atlas95 on

    Hi,
    I have the same problem as you with transparency etc, I would like to convert tango icon.

    Could you give me your php script please?

    Or help me to convert tango network icon …

    Contact me by mail if you can/want or here …

    Many thanks

  15. stella856 on

    very nice and useful ! thank you !

  16. flo|va-nu-pied on

    Pretty cool and very useful ! I’ll use it now.
    Thanks

  17. Adolfo Maltez on

    Gracias, esta excelente.
    Mis amigos se burlaban de mis diagramas en dia (de por si no soy muy bueno haciendo diagramas).
    Llegaron incluso a convencerme de usar micro$oft visio.

    Gracias por los iconos!

  18. Johann Marquez on

    Thanks a lot… maybe we can convert some other stuff into Dia icons, I can help!… so Dia gets even better.

  19. Ricardo on

    Good icons. Congratulations.

  20. M. on

    Thanks!!!! =)

  21. Carlos Le Mare on

    Thank you very much!

  22. laercio on

    Caro Thiago,

    Você sabe como se cria shapes com entrada de texto, com aqueles da Folha de Fluxogramas?

    Isto permitiria a criação de shapes mais elegantes, com sombra, etc, para substituir os do fluxograma…

  23. Cougar on

    Could you share your PHP script? I have similar problems when converting SVGs to Dia shapes.

    Thanks,


    Cougar

  24. Alex on

    Thanks a lot. I would like to have a Samba Icon as well. Can you describe how you made this shapes? I would really like to see this collection to grow.

  25. Neurogeek on

    Thanks man,

    Awesome work. !!

    Best Regards,

  26. [...] Link-link terkait : – Project DIA Diagram – Project gnomeDIAIcons – Dia Has Some Cool New Network Icons – New Network Icons Schema To Gnome Dia [...]


Leave a reply