I get this error in the terminal window when I try
$ gvim ** (gvim:2350): WARNING **: Unable to create Ubuntu Menu Proxy: Timeout was reached
gvim starts, but then this error occurs. Any help is appreciated.
The reason you get it is because by default Gvim does not have an application in Ubuntu. You can fix this by adding a global menu for Gvim.
Running the command UBUNTU_MENUPROXY= gvim instead of gvim will help you get rid of this warning. You can also consider aliasing gvim for the specified command.
UBUNTU_MENUPROXY= gvim
gvim
For more information, see How to get a global application menu for gvim?