From owner-freebsd-questions@FreeBSD.ORG Tue Jan 10 18:27:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82BEF1065672 for ; Tue, 10 Jan 2012 18:27:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 467118FC14 for ; Tue, 10 Jan 2012 18:27:47 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx01.qsc.de (Postfix) with ESMTP id A643C3C97F; Tue, 10 Jan 2012 19:27:45 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q0AIRj0X002330; Tue, 10 Jan 2012 19:27:45 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 10 Jan 2012 19:27:45 +0100 From: Polytropon To: Matthias Apitz Message-Id: <20120110192745.1f6cd928.freebsd@edvax.de> In-Reply-To: <20120110085620.GA1186@tiny> References: <20120110074504.GA1101@tiny> <20120110092554.d3001ca5.freebsd@edvax.de> <20120110085620.GA1186@tiny> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: starting firefox3 with defined geometry X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2012 18:27:47 -0000 On Tue, 10 Jan 2012 09:56:21 +0100, Matthias Apitz wrote: > El d=EDa Tuesday, January 10, 2012 a las 09:25:54AM +0100, Polytropon esc= ribi=F3: >=20 > > Answer: Yes, but it's not as easy as it could have been. > >=20 > > 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. > >=20 > > However, you can define the window width and height > > with command line parameters: > >=20 > > % firefox -width 1024 -height 768 >=20 > does not work with firefox-3.5.18 (from ports) on 9-CURRENT; Oh the joy of modern software. :-) > > ...=20 > > There is a "workaround" for the lack of standard > > geometry support: You could have Firefox execute > > JavaScript instructions at startup > >=20 > > window.moveTo(100, 100); > > window.resizeTo(1024, 768); >=20 > will try this in the page source; You can also provide those as command line parameters and have Firefox execute them on startup % firefox javascript:%20resizeTo\(500,500\) This works with v6.0.1 running on WindowMaker. As you said you're running KDE, why not try to compensate Firefox's inabilities to support standard -geometry parameters? I found this tool: http://tomas.styblo.name/wmctrl/ Maybe it also works with KDE which manages the Firefox window? The program can be found at x11/wmctrl in the ports collection. KDE uses kwin as its window management subsystem which (according to the documentation) should be compatible. It's really annoying that one has to jump through such hoops just to get a 30 year old standard functionality that every other program has... Hey, even Opera can do it! And now back to history. :-) > > > UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) > >=20 > > PDP-11 or K1600? Oh, and EC1056 here (OS/ES SVM OP1). :-) >=20 > both, PDP-11 and the clone; Our clone or the KFKI clone? http://hampage.hu/tpa/e_tpa1140.html Did you run MUTOS or SVP on that thing? > have you ever driven a UNIX by punch cards? No, but I'm familiar with the concept of input redirection in batch mode. Even TSO could be fed via punch cards as it was represented as a batch job. :-) > does PSU ring a bell? > http://cvs.laladev.de/index.html/P8000/WEGA/contrib/ingres/dbs/tmp/ing_Vo= rtrag?rev=3D1.1&content-type=3Dtext/x-cvsweb-markup Yes, it does. And I even know this text - which is easy as the material found on the Internet about this topic is very limited. :-) Do you know VMX, a UNIX running as a virtual machine on SVM? (I've also been running UNIX System III "WEGA" on a P8000 here.) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...