Re: bindings to move mouse cursor?
> > 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
Re: bindings to move mouse cursor?
Thanks everyone, binding some keys to xev commands worked great! Radu 2009/11/24 Ole Jørgen Brønner : > On Tue, 24 Nov 2009 01:32:44 +0100, Radu Berinde > 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?
On Tue, 24 Nov 2009 01:32:44 +0100, Radu Berinde 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?
On Tue, Nov 24, 2009 at 1:32 AM, Radu Berinde wrote: > 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) ? xautomation => xte HTH > 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. 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. Johannes
Re: bindings to move mouse cursor?
On Mon, Nov 23, 2009 at 07:32:44PM -0500, Radu Berinde 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 I find it next to impossible to believe that for any even remotely complicated layout (and even uncomplicated layouts with warping enabled), that mouse pointer nudging/moving is going to work better for selecting a desired frame/client than the current "Go to window" query does. Is there a reason that query is not sufficient for what you want? The above notwithstanding, ion does not move the mouse, there are programs out there which can (and even an X accessibility setting which uses the numeric keypad for this) though. -Etan