Ubuntu-style toolbar close buttons for fluxbox

It's pretty simple, really... Fluxbox has a "fluxbox-remote" tool that can be used to send commands to fluxbox, such as "Close" or "Fullscreen". So the trick is simply to add launchers to your taskbar (in this case fbpanel) and set "fluxbox-remote Close" or any other as their command line: