Is it possible to tell Awesome to move the cursor to say (5,0) upon changing
monitors instead?
Yup. I'm not exactly sure which code to use, but the general procedure would be:
1-1) find the right signal to hook (for screen change) here
http://awesome.naquadah.org/wiki/Signals
1-2) alternatively, just edit your bind for switching screens, if
that's the only thing you want affected rather than all screen
changes. This approach may be easier and more along the lines of what
you want.
> 2) Use this to set the desired mouse coords:
> http://awesome.naquadah.org/doc/api/modules/mouse.html#coords
Thanks for your suggestions. I tried the second approach and changed my
bind to this:
awful.key({ modkey, }, "F1", function ()
awful.screen.focus(1)
mouse.coords( { 10, 20 } , false)
end),
But unfortunately it doesn't make a difference (screen switches ok but
cursor stays at 0,0). I also tried setting the coords to { x = 10, y =
20 } as I'm not quite sure what the docs imply, but it didn't make a
difference. Am I doing something wrong?
In response to Germán unfortunately I think double-tap would annoy me
too much :-)
Many thanks,
Adam.
--
To unsubscribe, send mail to [email protected].