Re: Netscape via Wharf - the *correct* answer

David Mihm (
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

[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
*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

Here's how you set the default sizes and positions of the Netscape 
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.

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