Re: bindings to move mouse cursor?

2009-11-24 Thread Ole Jørgen Brønner
On Tue, 24 Nov 2009 01:32:44 +0100, Radu Berinde radu.beri...@gmail.com  
wrote:

Hi!

I have been searching a lot but no luck - is it possible to have some
key bindings that move the mouse cursor (e.g. a given number of pixels
in a given direction) ?

I think that would be a very useful way to switch to the frame you
want, just move the cursor until it's over that frame, should normally
only take a couple of keystrokes. The ioncore.goto_next functions
sometimes don't do exactly what you would want, depending on the
splitting order and such.

Thanks,
Radu


In what cases doesn't goto_next work?

The two programs 'swarp' (or 'xte' as suggested) and 'xmousepos' should do  
the trick. (you can find the exact distance needed by finding the current  
frame's absolute coordinates)




Re: bindings to move mouse cursor?

2009-11-24 Thread Radu Berinde
Thanks everyone, binding some keys to xev commands worked great!
Radu

2009/11/24 Ole Jørgen Brønner olejorg...@yahoo.no:
 On Tue, 24 Nov 2009 01:32:44 +0100, Radu Berinde radu.beri...@gmail.com
 wrote:

 Hi!

 I have been searching a lot but no luck - is it possible to have some
 key bindings that move the mouse cursor (e.g. a given number of pixels
 in a given direction) ?

 I think that would be a very useful way to switch to the frame you
 want, just move the cursor until it's over that frame, should normally
 only take a couple of keystrokes. The ioncore.goto_next functions
 sometimes don't do exactly what you would want, depending on the
 splitting order and such.

 Thanks,
 Radu

 In what cases doesn't goto_next work?

 The two programs 'swarp' (or 'xte' as suggested) and 'xmousepos' should do
 the trick. (you can find the exact distance needed by finding the current
 frame's absolute coordinates)




Re: bindings to move mouse cursor?

2009-11-24 Thread Tuomo Valkonen
  I think that would be a very useful way to switch to the frame you
  want, just move the cursor until it's over that frame, should normally
  only take a couple of keystrokes.

If you really want to do that, I suggest a Trackpoint keyboard instead.
The difficult a foresee with key(board) control of the pointer -- based
on experience with keyboard resize -- is control of the acceleration.
You need some kind of acceleration for fast yet precise movement of the
pointer, but with an on/off control device you have to do it based on
hacks based on the time pressed, which is hacky and does not work so
well. Trackpoint, on the other hand, does it by the pressure you apply.
By applying little pressure, you can move the pointer very precisely;
by a large amount of pressure, you're on the other side of the screen
in no time. (Assuming you have sane almost maxed-out settings; the
defaults tend to be crappy, and maybe one of the reason many people 
give up on the Trackpoint, and become ice-skaters.)

 well, it's a bit like buying a car navigation system and then only using it
 street by street ... maybe you should have a look at the commands ion
 provides.

Isn't that what navigation systems are all about? If you actually 
bothered looking at the map for a moment, you wouldn't need some 
device to tell you where to go (wrong). 

-- 
Tuomo