Some conflicting statements here.
> Gentlemen, I found it. I compared `env` between unity ..
Unity ?? Seriously ? anyway ....
We do know that on most desktops, appmenu-gtk-module 'fixes' the problem. In an earlier Ubuntu, they left it off the list of dependencies for GTK2. Manually installing it fixed the problem but introduced other issues. Since then, Canonical ship gtk2 AND appmenu... as standard, out of the box and it all works.
Can we please clarify, does installing appmenu-gtk-module fix the OpenBox situation ?
If an OpenBox distro has a problem and its fixed by manually installing appmenu-gtk-module, then the problem is, again, that the packagers have not included appmenu-gtk-modual as part of GTK2 and they should have.
We cannot say to our OpenBox end users that they need to do some system reconfig before they can use our app, thats too hard. We can just get away with saying "manually install appmenu-gtk-module". Note we cannot just add appmenu-gtk-module to our app's list of dependencies because older distributions do not have (or need) appmenu-gtk-module and demanding it will break the install.
This is one of those problems that just keeps on giving ....
Davo