| 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) |
| | 58 | cp -a example.svgz /usr/share/pixmap/ |
| | 59 | |
| | 60 | # create a directory for testing |
| | 61 | mkdir /tmp/test |
| | 62 | |
| | 63 | # copy some .desktop files to the testing directory. At least one should have the line "Icon=example" |
| | 64 | cp -a example_working.desktop example_testing.desktop /tmp/test |
| | 65 | |
| | 66 | # remove the users icon cache |
| | 67 | rm -r ~/.kde4/cache-*/kpc/ |
| | 68 | |
| | 69 | # check if the icons gets displayed correctly |
| | 70 | strace -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 |
| | 75 | less /tmp/test/konq_icon.strace |
| | 76 | }}} |