Re: Netscape via Wharf - the *correct* answer

David Mihm (davemann@ionet.net)
Wed, 2 Sep 1998 04:27:13 -0500 (CDT)


On Tue, 1 Sep 1998, Steve Ki-Won Lee wrote:

! Greetings!
! 
! Does anyone know if netscape-navigator 4.06 can be opened up with a
! geometry command?  I want 855x810+1375+22 and when I put that in my wharf
! file, as:

	From the app-defaults file Netscape.ad:

[begin quote]

By default, the geometries of components (browsers, mail, address book, 
etc) are saved in ~/.netscape/preferences.js.  If this pisses you off, 
uncomment the following line and Netscape will not remember component
geometries.  Equivalent to using the '-dont-save-geometry-prefs' startup
flag.
*dontSaveGeometryPrefs:                True

Uncomment the following line to ignore any geometry preferences that
might have been saved.  Equivalent to using the '-ignore-geometry-prefs'
startup flag.
*ignoreGeometryPrefs:                  True

Geometry
Here's how you set the default sizes and positions of the Netscape 
windows:
For the web browser window:   Netscape.Navigator.geometry: =500x700+100-0
For the mail reader:          Netscape.Mail.geometry: =500x800+200-0
For the news reader:          Netscape.News.geometry: =500x800+300-0
For the mail editor:          Netscape.Composition.geometry: =400x600
For the bookmarks window:     Netscape.Bookmarks.geometry: =300x900-0-0
For the address book window:  Netscape.AddressBook.geometry: =600x900-300-0
For the download windows:     Netscape.Download.geometry: =500x200-0-0
[end quote]

Add these to you .Xdefaults or .Xresources file and xrdb -load <file>.
Now the geometry will be set.  It is my understadning that Netscape will
not take command line -geometry settings.

HTH
___________________________________________________________________
d a v i d  @  m i h m                          reality.sys corrupt!
davemann-at-ionet-dot-net                     reboot universe(y,n)?
(www||ftp)the-site.dyn.ml.org/                           ICQ:906859
-------------------------------------------------------------------
Key fingerprint =  E4 90 15 ED E5 9F 18 8A  B0 CC FF 68 61 36 4A 6F


--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html