starting firefox3 with defined geometry

Matthias Apitz guru at unixarea.de
Tue Jan 10 08:56:02 UTC 2012


El día Tuesday, January 10, 2012 a las 09:25:54AM +0100, Polytropon escribió:

> Answer: Yes, but it's not as easy as it could have been.
> 
> Unlike nearly every other X11 program, notably the "old"
> and "outdated" ones, Firefox does _not_ seem to support
> the _standard_ -geometry WxH+X+Y parameter.
> 
> However, you can define the window width and height
> with command line parameters:
> 
> 	% firefox -width 1024 -height 768

does not work with firefox-3.5.18 (from ports) on 9-CURRENT;

> ... 
> There is a "workaround" for the lack of standard
> geometry support: You could have Firefox execute
> JavaScript instructions at startup
> 
> 	window.moveTo(100, 100);
> 	window.resizeTo(1024, 768);

will try this in the page source;

> Those can even be provided on the command line.
> However, that's a bad excuse for not supporting
> what users expect working for 30 years.

yes!

> > UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
> 
> PDP-11 or K1600? Oh, and EC1056 here (OS/ES SVM OP1). :-)

both, PDP-11 and the clone; have you ever driven a UNIX by punch cards?
does PSU ring a bell?
http://cvs.laladev.de/index.html/P8000/WEGA/contrib/ingres/dbs/tmp/ing_Vortrag?rev=1.1&content-type=text/x-cvsweb-markup

	matthias
-- 
Matthias Apitz
e <guru at unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5


More information about the freebsd-questions mailing list