You must know that a program can only be iconified correctly if it
initialises after the window manager, so to solve this, I've done following
in my .xinitrc
($WMANAGER is a global variable of my distribution which defines the
default wm for the system)
exec $WMANAGER & #this could be "/usr/bin/blackbox" or similar, dunno if
the exec is
bbkeys -i #needed when calling a binary directly.
exit 0
Do not put a '&' after bbkeys (only if you did it like me that is!) or the
system will open a console which when closed, brings down X.
Regards,
Bartek Kostrzewa