you have to use the Gtk2::StatusIcon object that comes with a new(ish) gtk2-perl bindings compiled against gtk+ >= 2.10.