adding iconsscript for adding missing or additional icons
for example for start programs under root
adding_icons.sh#!/bin/sh
ICONDIR=/opt/addicons
[ -d $ICONDIR ] || mkdir -pm775 $ICONDIR
find $ICONDIR -name '*.desktop' -type f -exec ln -sf {} /usr/local/share/applications \;
find $ICONDIR -name '*.png' -or -name '*.xpm' -type f -exec ln -sf {} /usr/local/share/pixmaps \;
now can add any needed icons and desktop files to folder
/opt/addiconsexamplesfor adding icon to run program under root need copy
/tmp/tcloop/extension/usr/local/share/applications/extension.desktoprenaming it to
/opt/addicons/extension-root.desktopand add
sudo to command line in
Exec key
for adding missing icon need add icon
extension.pngor other allowed graphic format to folder
/opt/addiconsthen create missing desktop file or copy an existing
/tmp/tcloop/extension/usr/local/share/applications/extension.desktopto
/opt/addicons/extension.desktopand add to it the following row
X-FullPathIcon=/usr/local/share/pixmaps/extension.png