On Nov 15, 4:36 pm, Alexandre Provencio <[email protected]>
wrote:
> Hello all,
>
> the default behavior on Ubuntu system is to launch text files in new tabs
> on an existing Gedit instance. I have always liked to use Gvim instead but
> keeping this same scenario, so I make some changes on the gvim.desktop file
> as suggested here vim.wikia.com/wiki/Launch_files_in_new_tabs_under_Unix.
>
> This setting has worked ok for me back when my applications for launching
> files were basically nautilus and gnome-do, which still work up to now, but
> since the release of Unity which I use a lot, I cannot make it work
> smoothly with Gvim. It does work when launching files from Unity's Dash,
> but when I try to launch Gvim itself from Dash, it never opens. Also if
> there's a Gvim pinned to Unity as a Launcher, it is taken away from there
> by the time all tabs get closed.
>

Possibly the dash is expecting the application to not fork. Maybe
adding a -f argument will help things? There is probably a reason the
old arguments (as given in the tip) are as they are.

This may be a good thing to bring up with Ubuntu support if you don't
get a better answer here. Without knowing what the Unity desktop
expects from the applications it launches, it is difficult to say what
you need to do with Vim.

If there are multiple configurations used, one for launching files and
one for launching the app directly, probably the --remote stuff is not
needed in the latter, if that matters at all.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to