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

Re: how to position netscape window?



Jack Byers writes:
 > <br><br><br>Jack Byers     byersj hotmail com
 > 
 > This should be trivial, but I can't seem to control
 > the position of a netscape window.
 > Of course I can resize and move it with mouse
 > once it is born but I cant see how to set it up automatically
 > when starting.
 > 
 > 
 > I can manipulate the size and position of new xterms
 > eg with
 > nxterm -geometry 80x24+1000+15 &
 > to give an xterm on topright of the screen.
 > This works either from .Xclients  or from an existing xterm.
 > 
 > But I don't know how use similar commands to position netscape window.
 > Sizing ok but not position.
 > 

http://home.netscape.com/eng/mozilla/2.0/relnotes/unix-2.0.html

To set sizes of individual windows: set the following X resources 

    Netscape*Navigator.geometry: WxH+X+Y      for the browser windows
    Netscape*Mail.geometry: WxH+X+Y           for the mail window
    Netscape*News.geometry: WxH+X+Y           for the news window
    Netscape*Bookmark.geometry: WxH+X+Y       for the bookmark window
    Netscape*AddressBook.geometry: WxH+X+Y    for the addressbook window
    Netscape*Composition.geometry: WxH+X+Y    for the composition window

    Netscape*TopLevelShell.geometry: WxH+X+Y  sets all of the above windows
    to be the same size.

    The -geometry command line option sets the sizes of just the
browser, mail and news windows. 

You should set these defaults in .Xdefaults.
Then use /usr/bin/X11/xrdb -load ~/.Xdefaults to load them without logging out.

-- 
Ray Curtis         Unix Programmer/Consultant   Curtis Consulting
mailto:ray ccux com                             http://www.ccux.com





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