It seems it has to do with the AppMenu (http://www.webupd8.org/2011/03/disable-appmenu-global-menu-in-ubuntu).
When I start gvim, I get the message "** (gvim:30703): WARNING **: Unable to create Ubuntu Menu Proxy: Timeout was reached
Running "UBUNTU_MENUPROXY= gvim" removes that message, and makes gvim start with the right size.
Since I'm in XFCE, the AppMenu doesn't exist anyway as I understand it.
It seems it has to do with the AppMenu (http:// www.webupd8. org/2011/ 03/disable- appmenu- global- menu-in- ubuntu).
When I start gvim, I get the message
"** (gvim:30703): WARNING **: Unable to create Ubuntu Menu Proxy: Timeout was reached
Running "UBUNTU_MENUPROXY= gvim" removes that message, and makes gvim start with the right size.
Since I'm in XFCE, the AppMenu doesn't exist anyway as I understand it.