[Bug 776499] Re: gvim gets no global menu, timeout warning on the console

Weeble clockworksaint at gmail.com
Mon Jan 9 10:44:20 UTC 2012


I found the workaround in #7 helpful, but it had two problems, one
major, one minor: It doesn't dissociate vim from the terminal, so if you
close the terminal window vim gets abruptly terminated too; also, vim
spits out quite a few GTK warnings on the console, which I'd rather not
see. Here's what I'm using now:

function gvim {
    /usr/bin/gvim -f $* > /dev/null 2> /dev/null & disown
}

I tried nohup to begin with, but it didn't seem to help. The process was
still killed by a sighup when the terminal closed. The redirect and
disown seems to work better.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/776499

Title:
  gvim gets no global menu, timeout warning on the console

Status in Unity:
  Invalid
Status in “unity” package in Ubuntu:
  Invalid
Status in “vim” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: vim

  Whenever I launch gvim from a terminal in Unity, I get this message
  after a few seconds

    ** (vim:5800): WARNING **: Unable to register window with path
  '/com/canonical/menu/5400003': Timeout was reached

  The gvim window has a regular menu bar and doesn't use Unity's global
  menu.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: vim-gnome 2:7.3.035+hg~8fdc12103333-1ubuntu7
  ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
  Uname: Linux 2.6.38-9-generic i686
  Architecture: i386
  Date: Tue May  3 18:41:32 2011
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
  ProcEnviron:
   LANGUAGE=lt_LT:en
   LC_CTYPE=lt_LT.UTF-8
   PATH=(custom, user)
   LANG=lt_LT.UTF-8
   SHELL=/bin/bash
  SourcePackage: vim
  UpgradeStatus: Upgraded to natty on 2011-04-29 (4 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/776499/+subscriptions




More information about the foundations-bugs mailing list