On Tue, May 18, 2010 at 9:59 PM, Adam Nielsen <[email protected]> wrote: > Hi all, > > I've just upgraded to Awesome on another PC, which uses Synergy to share the > keyboard and mouse with a Windows PC. > > Unfortunately I have just discovered that when I switch to the first screen > with a keyboard shortcut Awesome moves the mouse cursor to 0,0 which causes > Synergy switch all input to the Windows PC. While it's very useful to have > a shortcut key to jump across to another PC, it does mean that it's > impossible to jump to the first screen with a keyboard shortcut. > > Is it possible to tell Awesome to move the cursor to say (5,0) upon changing > monitors instead? > > Thanks, > Adam. > > > -- > To unsubscribe, send mail to [email protected]. >
Hi. 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 Should be pretty straight forward -- maybe only 2 or so lines added. Feel free to ask on IRC if you want more immediate help. -Andrei "Garoth" Thorp -- To unsubscribe, send mail to [email protected].
