Icons: Difference between revisions

link to Emoji list
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Line 5: Line 5:
== Installing Icons ==
== Installing Icons ==
In order to get the Oxygen icons into this mediawiki system, I installed the icon set (well actually I think it came as a dependency with some kde4 application) which provides the compressed svg files.  Then I copied the compressed files to a temporary location where I could decompress them and import them.  Using the import tool provided by mediawiki, I batch imported the ~800 images.  I didn't categorize them, which had I known about categorizing images I would have done first, rather than later.  If you want to categorize your images on import, just add the category to the comment.
In order to get the Oxygen icons into this mediawiki system, I installed the icon set (well actually I think it came as a dependency with some kde4 application) which provides the compressed svg files.  Then I copied the compressed files to a temporary location where I could decompress them and import them.  Using the import tool provided by mediawiki, I batch imported the ~800 images.  I didn't categorize them, which had I known about categorizing images I would have done first, rather than later.  If you want to categorize your images on import, just add the category to the comment.
<source lang="bash">
<syntaxhighlight lang="bash">
find /usr/lib/kde4/share/icons/oxygen/scalable/ -name '*svgz' -exec cp {} /tmp/ \;
find /usr/lib/kde4/share/icons/oxygen/scalable/ -name '*svgz' -exec cp {} /tmp/ \;
gunzip --suffix=svgz /tmp/*svgz
gunzip --suffix=svgz /tmp/*svgz
Line 11: Line 11:
cd phase3/maintenance
cd phase3/maintenance
php importImages.php --extensions=svg --user=Freephile --comment='Get the whole set at http://www.oxygen-icons.org' /tmp/
php importImages.php --extensions=svg --user=Freephile --comment='Get the whole set at http://www.oxygen-icons.org' /tmp/
</source>
</syntaxhighlight>


== Creating Favicons and Application Icons ==
== Creating Favicons and Application Icons ==