Press a button in order to move a mouse to the second monitor

view story

https://bbs.archlinux.org – I don't know of a way to lock the mouse to one monitor until you press a button (aside from modifying the WM), but there are several apps that could bind a keypress to "warping" the mouse cursor to a specified location.So if the latter behavior is what you are looking for, xdotool is a great app that will do this well while offering many other options too.  If you want really light to "do one thing and do it well" then you can get swarp from suckless which warps the pointer to a location - nothing more.edit: in hindsight, I suspect there is a hackish way to effect (HowTos)