On Tue, 13 Nov 2001, mike ledoux <[EMAIL PROTECTED]> wrote:
> 
> Wow.  I've been wanting to do this for years, and couldn't figure out
> how.  

Good!  I hope it works.  I feel there are a lot of untapped jewels in
the accessx and other /usr/X11R6/lib/X11/xkb/compat functions of the X
server, I just haven't had the time to play with them all.

> Now my fvwm configuration is complete, and I can throw away all my
> mice.

I'd be interested in seeing the xmodmap's you came up with.  

I tried to go mouseless: in addition to the MouseKeys button click
mappings, in Fvwm I make Alt+<arrowkey> move the mouse 15% (of screen
length) in the arrow direction, and Shift+Alt+<arrowkey> move mouse 1%
for finer control.  Alt-O warps the mouse to center of screen.

These are useful in emergencies or when using the laptop, but I found
it too awkward to get used to it for moving the mouse in general.  If
you found a better set of mappings that allows you to go mouseless more
easily I'd like to see them!



Speaking of minimizing the mouse, there is a great utility called
xwit(1) (X window interface tool) for manipulating the mouse and
other X things from inside shell and perl scripts (or any of your
scripts or programs).

I use it as a very cheap way to make "X applications" using xterm and a
shell script.  Suppose, for example, you have a program that is launched via:

        xterm ... -e my_shell_script

(lauched, say, by hotkey, some program, or other event) 
Then in my_shell_script you can do things like:

xwit -iconify           # iconify the window (e.g. xterm in this example)
xwit -pop               # de-iconify the window
xwit -warp 5 5          # warp the mouse to the window (5 pixels from corner)

and lots of other fun stuff (e.g. translate the whole window or resize it).
I even call it from tcl/tk scripts since it can warp the mouse w/o much
fuss.

My point here, WRT going mouseless, is that the application you write
can automatically warp the mouse for you to set the focus to the
application, instead of the user having to physically move the mouse.
Sometimes useful.

Unfortunately xwit is usually not included in distros;  I always carry
around Linux and Solaris binaries of it where ever I go.

        http://www.ensta.fr/internet/unix/misc/xwit.html 


*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to