48 | | || /usr/share/pixmap/smartclient/example.png || application icon (using /usr/share/icons/default.kde4/48x48/apps/example.png is also possible, but more complicated. Also problems occur, if the user changes the default icon them) || || |
| 48 | || /usr/share/pixmap/example.png || application icon (using /usr/share/icons/default.kde4/48x48/apps/example.png is also possible, but more complicated. Also problems occur, if the user changes the default icon them) || || |
| 49 | |
| 50 | |
| 51 | ====== testing KDE4 icons ====== |
| 52 | |
| 53 | to test, if an icon is recognised by the system, act as follow: |
| 54 | |
| 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 file -f konqueror /tmp/test}}} |