Marcel Heinz on  wrote...
| > | Hmm, it is actually possible to define fixed geometry for specific windows
| > | via the ctwm config file. Look out for the WindowGeometries list. From my
| > | .ctwmrc:
| > | 
| > | |WindowGeometries {
| > | |        "Mozilla"       "MaxGeom"
| > | |        "*Acrobat*"     "MaxGeom"
| > | |        "PornView*"     "MaxGeom"
| > | |        "*OpenOffice*"  "MaxGeom"
| > | |}
| > | 
| > | (MaxGeom is a standard X geometry string calculated by some M4 macro)
| > | 
| > Can you give me the m4 for it?
| 
| Yes, ouf course, but I doubt that it will be useful for you. It's just
| for my weird screen layout ;)
| 
My problem is varible screen sizes. I use the same setup files for
screens ranging from  600x400  to 1900x1200
That is a very large variation and requaires font chnages for xterms,
overlapping multiple windows on small screens and a standard two columns
of text windows on larger screens.  handling a 'left' offset for screens
running a gnome panel, and space on the right for monitors and status
reporting windows.

i also have to deal with adjusting the width of the workspace map window
for varing aspect ratios, and overlaying a
'logout/restart/reboot/shutdown' menu buttoin on top of that window.

Not only do I handle different screens but also different OS's from old
SunOS, to HPUX, to multiple flavors of linux, and in all the above
different versions of CTwm.

As such I do not think a 'weird screen size' is a problem, as I am
probably worse off than you :-)

| You can have a look into my .ctwmrc to find out yourself, it's at the m4
| section quite at the beginnig:
| 
| ...deleted...
| 
Thanks.

| But actually, you can pass any geometry string like "100x200+300-400" to
| that WindGeometries list.
| 
yes I know, but I can't get it to set a geometry size like "100x200"
and still have  RandomPlacement work!!!

I would also love to be able to redefine RandomPlacement to be
offset +25-25 from last new window placement.  instead of the current
+20+20 RandomPlacement currently provides.  :-)

EG: I'd like be be able to define what RandomPlacement actually means,
weather it is actually random, or a positions sequence relative to the
last 'placement' or the last new window (they are two different things!)

Better still define 'placement policy' basied on window types.


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
      Kettering's Law :-
             "Logic is an organized way of going wrong, with confidence."
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/

Reply via email to