If run gvim in terminal. When gvim is loading slow and show following message:
** (gvim:20320): WARNING **: Unable to create Ubuntu Menu Proxy: Timeout was reached
To get global menu for gvim and to get rid of the warning message, add this to ~/.bashrc and restart the terminal:
function gvim () { (/usr/bin/gvim -f "$@" &) }