[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: x-terminal-emulator does not appear to accept comand line args



On Wed, 08 Jun 2011 18:40:03 -0700, briand wrote:

> On Wed, 8 Jun 2011 14:59:03 +0000 (UTC) Camaleón <noelamac@gmail.com>
> wrote:
> 
>> > if you try, for example,
>> > 
>> > x-terminal-emulator --geometry=80x50
>> > 
>> > it doesn't seem to work.
>> > 
>> > bug ?
>> 
>> Hum... here (lenny) neither works (gnomer-terminal launches but the
>> parameter is ignored).
>> 
>> 
> I verified again.  gnome-terminal definitely uses the option and
> x-terminal-emulator definitely does not.
> 
> This is all kind of silly.

Hum... Jon is right. If we look at the perl script:

sm01@stt008:~$ grep geometry /usr/bin/x-terminal-emulator
    elsif ($opt eq '-geometry')
	push(@args, "--geometry=$arg");

The accepted argument is "-geometry" that is then converted into gnome-
terminal parlance ("--geometry=").

> Why doesn't gnome-terminal have a preference setting for the size ?

Follow Jon's suggestion, it works that way.

Greetings,

-- 
Camaleón


Reply to: