Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
35
rated 0 times [  35] [ 0]  / answers: 1 / hits: 13391  / 3 Years ago, fri, july 16, 2021, 12:00:26

Gvim does not have a global menu (appmenu / application menu) in 12.04,
and when starting gvim from a terminal,
the following warning appears in the terminal after 25 seconds:



** (gvim:20320): WARNING **: Unable to create Ubuntu Menu Proxy: Timeout was reached


How to fix this?


More From » appmenu

 Answers
3

Solution 1: Make the global menu for gvim work



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 "$@" &) }


Solution 2: Disable global menu for gvim



To just get rid of the warning message, you can disable the global menu, at least for gvim:





For example, add this to ~/.bashrc and restart the terminal:



alias gvim='UBUNTU_MENUPROXY= gvim'


References




[#38677] Friday, July 16, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
istictroubli

Total Points: 306
Total Questions: 96
Total Answers: 114

Location: Sao Tome and Principe
Member since Wed, Jul 13, 2022
2 Years ago
istictroubli questions
;