星海's Blog

老头初学编程
Qt4 与 ImageMagick中Magick++ 库 链接的.pro文件部份内容(Linux)

Ubuntu中Gvim菜单栏无法显示快捷键的问题解决方法

星海 posted @ 2011年10月06日 18:57 in 杂货TIPS(随写随删) , 2062 阅读

我的OS是Ubuntu 11.10 beta2 64位,在unity dock中直接点击, 菜单中原固有的 快捷键无法显示。。。

如果在gnome-terminal中手动输入gvim命令的话,很容易使gvim无法正常响应,只能强制kill退出。

 

经多方查找,找到了解决办法:

https://bugs.launchpad.net/dbusmenu/+bug/733265

 

在~/.bashrc最后一行加入,其中 UBUNTU_MENUPROXY= xxx 为禁止xxx程序使用全局菜单。

alias gvim='UBUNTU_MENUPROXY= gvim
或者用命令启动
gvim -f "$@" & true 
Avatar_small
Liwovosa 说:
2021年4月19日 19:06 I have recently started a blog, the info you provide on this site has helped me greatly. Thanks for all of your time & work. video buddy app
Avatar_small
Model Paper 2022 说:
2021年10月30日 12:53

On this website, you may get Model Papers 2022 in pdf format for students in classes 9th, 10th, 11th, and 12th for all subjects. Below are download links for Model Paper 2022 all Indian education boards. These papers were developed by Model Papers 2022 and are hosted on their official website. These question papers will assist you in achieving higher rankings and scores on the Board test.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter