Changes between Version 10 and Version 11 of Documentation


Ignore:
Timestamp:
Nov 4, 2009, 10:55:14 AM (15 years ago)
Author:
Jörg Steffens
Comment:

changed icon check discription

Legend:

Unmodified
Added
Removed
Modified
  • Documentation

    v10 v11  
    5353to test, if an icon is recognised by the system, act as follow:
    5454
    55  1. copy the icon {{{example.png}}} or {{{example.svgz}}} to {{{/usr/share/pixmap/}}}
    56  1. create a test directory {{{/tmp/test}}}
    57  1. copy some {{{.desktop}}} files into {{{/tmp/test}}}. At least one should have the line {{{Icon=example}}}
    58  1. remove icon cache by: {{{rm -r ~/.kde4/cache-*/kpc/}}}
    59  1. check if icon gets displayed by: {{{konqueror /tmp/test}}}
    60  1. or: {{{strace -e trace=access -f konqueror /tmp/test}}}
     55{{{
     56# copy the icon example.png or example.svgz to /usr/share/pixmap/
     57# if available, choose the svgz image format, otherwise png. (xpm does also work)
     58cp -a example.svgz /usr/share/pixmap/
     59
     60# create a directory for testing
     61mkdir /tmp/test
     62
     63# copy some .desktop files to the testing directory. At least one should have the line "Icon=example"
     64cp -a example_working.desktop example_testing.desktop /tmp/test
     65
     66# remove the users icon cache
     67rm -r ~/.kde4/cache-*/kpc/
     68
     69# check if the icons gets displayed correctly
     70strace -e trace=access -o /tmp/test/konq_icon.strace  -f konqueror /tmp/test
     71
     72# close konqueror
     73
     74# in case of problems, analyse the strace log file
     75less /tmp/test/konq_icon.strace
     76}}}