[Terminal] "--tab" option miss-behaves

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Tue Nov 28 18:02:41 CET 2006


Liviu Andronic wrote:
>> > The --tab option for Terminal doesn't work properly.
>> >
>> > I have tried with "startxfce4" and with "dbus-launch startxfce4" and it
>> > makes no difference. From emelFM2 or Thunar, "terminal --tab -x mplayer
>> > %f" instead of opening a tab into an existing Terminal Window, opens a
>> > new Terminal Window with two tabs: first one makes a cd to the current
>> > dir (where the file is located) and second one actually runs the
>> command.
>> >
>> > Is there any way to make it work properly?
>>
>> Looks like it works just perfect for you.
> 
> 
> The first  "terminal --tab -x mplayer %f" opens a new Terminal Window with
> two tabs in it. But so does any subsequent "terminal --tab -x mplayer %f"
> command. Which makes that with "--tab" option, instead of opening a new
> Terminal Window, opens a New Terminal Window _with_ two tabs.
> 
> I would expect a different behaviour: reuse of the newly created window.
> That is, the subsequent commands would open tabs into this new window.
> 
> Or am I wrong on the intended use of this option?

--tab opens a new tab in the new window, so it works as documented. What
you are asking for is to open a tab in an existing window, which is not
yet implemented. Search bugzilla, there's a patch for this.

> Liviu

Benedikt



More information about the Xfce mailing list