This will allow a single tray applet to do as many functions as you would like, network monitor, temperature monitor, volume control, load, battery, clipboard, ... pretty much anything you can dump into an icon. This means less resource usage than running multiple tray applets.
here is a template for using it:
Code: Select all
sit 1000 /usr/share/mini-icons/mini-dog.xpm "sit test" "dogleftclick" "dogrightclick" \
1000 /usr/share/mini-icons/mini-cd.xpm "sit test" "cdleftclick" "cdrightclick" \
2>/dev/null | \
while read LINE; do
case "$LINE" in
#statusicon specific actions here based on its left/right click action
*)Xdialog --under-mouse --infobox "action=$LINE" 0 0 &
;;
esac
done