moving fvwm windows by thier handles

1998-08-21 Thread the lone gunman
As per my Debian 1.3 fvwm2 configuration, I could move windows by
clicking and holding on any part of the border and title.  That is, I
could click and hold on the handles that surround a window, or the
title bar and move my window around.  I could only resize the window
by explicit command or by those smallish L shaped corners on the
windows.

Now, the handles resize the window.  For instance, if I display an
image under xv that is big enough to push the title bar off the
screen, I really can't move the window.  I would like to go back to my
old setup, but I do not know which fvwm2 command to use in the config
file.

Anyone know what I need?

Thank you!


Re: moving fvwm windows by thier handles

1998-08-21 Thread David Stern
On Thu, 20 Aug 1998 20:59:33 CDT, the lone gunman wrote:
 As per my Debian 1.3 fvwm2 configuration, I could move windows by
 clicking and holding on any part of the border and title.  That is, I
 could click and hold on the handles that surround a window, or the
 title bar and move my window around.  I could only resize the window
 by explicit command or by those smallish L shaped corners on the
 windows.
 
 Now, the handles resize the window.  For instance, if I display an
 image under xv that is big enough to push the title bar off the
 screen, I really can't move the window.  I would like to go back to my
 old setup, but I do not know which fvwm2 command to use in the config
 file.
 
 Anyone know what I need?
 
 Thank you!

Use the pager!  Just drag your mondo-sized image on the pager whereever 
you like.  That's what I ordinarily do when I'm editing an image larger 
than my desktop.  Another option is to have a larger virtual desktop, 
although I don't much like that (this is done in your 
/etc/X11/XF86Config, man XF86Config).

I thought resizing was the intended use of handles, which is why 
they're located on portions of the frame where it would make sense to 
resize; I've always moved frames using titlebars, as long as they're 
visible.  OTOH, I don't use fvwm (unless the only alternative is KDE; 
heh, heh!)

It sounds like your window manager desktop preferences have changed 
with your new package, perhaps options regarding what happens on the 
edge of your desktop; I don't recall any border or handle preferences.  
I've never experienced the behavior you're describing, but I recall 
there being some kind of a new configuration file scheme for fvwm 
derivatives, so perhaps you can specify your old config file (man fv..).

You might also consider one of the fvwm configuration utilities, if 
they have that for bo, either the dotfile package(s) or I think I saw 
a new fvwm configuration utility the other day in slink..I know you 
have bo but you might want to have a look at it anyway.

If you're having bug-like behavior, try re-installing; I've had a 
couple rare instances where upgrades caused titlebars and borders 
(hence handles) to disappear, or make all frames immovable.  It doesn't 
sound like this is what you're experiencing, however.

-- 



Re: moving fvwm windows by thier handles

1998-08-21 Thread Keith Beattie
the lone gunman wrote:

 Now, the handles resize the window.  For instance, if I display an
 image under xv that is big enough to push the title bar off the
 screen, I really can't move the window.  I would like to go back to my
 old setup, but I do not know which fvwm2 command to use in the config
 file.
 
 Anyone know what I need?
 

A modification of your ~/.xmodmaprc and ~/.fvwmrc file to allow
another means to move and/or resize windows.

What I do is move and resize windows by mouse 1 and mouse 3
(respectfully) pressed *anywhere* in a window, with a modifier key
pressed.  This I find to be much faster and much easier on my right
wrist because I don't have to find the handles with the mouse.  It
is also a good use of the extra windows keys on those curved
natural keyboards under X.

What I did was something like the following: (I don't have access to
my Linux machine at the moment so double check all this.)

Add and entry to your ~/.xmodmaprc file to change a (spare) key to be
a mod 4 (or some other modifier which won't conflict with
applications). I can't recall exactly what those commands are but I
figured it out playing with xkeycaps.  I have my ~/.xinitrc source my
~/.xmodmaprc file i.e.

# Set up my keyboard for a control key on the right and a mouse
# modfier key...
if [ -f $HOME/.xmodmaprc ]; then
  xmodmap $HOME/.xmodmaprc
fi

Then modify your ~/.fvwmrc to give meaning to the new modifier key and
mouse buttons being pressed at the same time.  (I do have these settings
because I use FVWM on Solaris at work):

# Window movement and resizing
# Button Context Modifi Function
Mouse 1  FSTW4  Move
Mouse 2  FSTW4  Maximize 0 100
Mouse 3  FSTW4  Resize

I like tall windows so I use mouse 2 for instant max height.

There could be better/other ways to accomplish this, but it works for
me (I'm open to suggestions).  I've actually seen twm configurations
to have no window decorations at all using this idea (where I stole it
from...).  Personally, I think that no decorations is a little extreme
but this ability alone is enough reason for me to prefer X-windows as
a GUI.

HTH,
Keith