[Thunar-dev] Strange gvim behaviour when started from Thunar

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Sat Aug 12 14:14:36 CEST 2006


Bernhard Walle wrote:
> Hello,
> 
> I discovered some strange effect. If gvim is started from Thunar
> (together with a file name), the command
> 
>    :!xterm &
> 
> doesn't work, i.e. no xterm is started in background. However, if it is
> started from a shell or even from the (Xfce 4.2, not tested with Xfce
> 4.4) panel, it works flawlessly.
> 
> Does anybody of the Thunar developers has an explanation for this
> strange effect? Thanks!

Doesn't work in either case here. But running processes in the
background using & requires shell process control, which is probably not
available in gvim when not run from the shell. You could modify the
gvim.desktop file to run vim in a shell when spawned from a file manager
or the menu.

> Regards,
>   Bernhard

Benedikt



More information about the Thunar-dev mailing list