#30 works fine, but for those who want to keep the global menus, here's
some improvements on the solutions in #7 and #24:

Add this to ~/.bashrc:
function gvim () { (/usr/bin/gvim -f "$@" &) }

Or, to also suppress all output from gvim:
function gvim () { (/usr/bin/gvim -f "$@" &>/dev/null &) }

The improvements:
Handle filenames with spaces etc. correctly.
Also, use a subshell, (foo &), instead of the method in #24, foo & disown, to 
run gvim in the background (although either method seems to work fine).

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to