Re: Special window startup function.

David Mihm (davemann@ionet.net)
Wed, 22 Jul 1998 13:56:05 -0500 (CDT)


On Wed, 22 Jul 1998, Brandon Stewart wrote:

! David Mihm wrote:
! > 
! > On Fri, 17 Jul 1998, Brandon Stewart wrote:
! > 
! > > Anyone got swift ideas to do the following everytime a window is opened:
! > >
! > > (1) move to the next empty page on the desktop
! >         Add to database StartsOnDesk # <-- # = desk number
! > > (2) open the window
! >         Add to .xinitrc or autoexec file as 'Exec "I" app'
! > > (3) maximize window
! >         Add the geometry to the call of the program, i.e.
! > 'app -geometry 960x768'; or as an app-default in the .Xdefaults,
! > i.e. 'Vim.geometry 960x768'.  Remember to remove the 64 pixals on the
! > horiz/x number to allow the app to site next to the wharf, not under it.
! 
! Thank you for your suggestion. However, my intention was to do something
! slightly different, and slightly more complex. I want (1), (2), and (3)
! to be done for _every_ app I open, _every_ time I open it. Specifying
! the geometry in the call of each and every program would be a bit much,
! since any slight change would have to be done to 50+ files in the start/

	You must not be using Linux to it's fullest possibilities - a
script could be written to make the changes rather quickly - an excercise
for the reader. :)

! directory. Perhaps I could define the geometry in the shell by $WIDTH
! and $HEIGHT variables and then call each program with something like
! "xterm -geometry $WIDTHx$HEIGHTx+0+0"? I should try this. Also, I didn't

	Then every app would appear at exactly the same place as all
other apps - surely this isn't what you want!

! really want to go to a whole new desktop, just a new page. Rather than
! dragging each new window I open to a new page, it would be nice if I
! could call a function to flip to the next blank page on the _same_
! desktop, put the new window on that page, and maximize it. It seems to

	My concept could have been tweaked to have 4 _desks_ that appear
to be one desk with 4 views - follow? *PagerRows 2 , *PagerColumns 2 .

! me that this would require writing my very own module, not something to
! look forward to too much. Just looking through the source code, it seems
! that Auto would be the best model to work from.
! 
! Any further suggestions are welcome, any at all. 
! 
! Thanks.

	Don't know what more to say here, and unless anyone else has
responded to you off the list - looks like you are on your own. :)

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:4251923
-------------------------------------------------------------------
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