Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
|Scripts quick access edit this|
- Author: Fernando Carmona Varo <firstname.lastname@example.org>
- Version: 0.6
- License: GPLv3
- Download: Mousetrap (adopted).jl (upload)
Move the mouse to any place of the screen with a few keystrokes by zooming (as much precision as you want).
When the command is invoked the mouse is warped to the center of the screen and a outline is drawn dividing the screen in 4 squares. You can then press an arrow key (or HJKL key) and the mouse will be warped to the center of a subset of the squares, half the size of the previous area. each new keystroke will half the area, increasing precision exponentially. When you press the spacebar or enter a mouse click is performed. If you press ESC no click will be made, but the mouse will be moved to that position.
The idea was inspired by a similar proyect shown in the Yahoo Hack Day '06: http://www.semicomplete.com/presentations/hackday06/
The keys QWAS can also be used for warping the mouse to one of the four quarters of the square, which would result in even less keypresses.
Copy this script somewhere in your load-path (~/.sawfish/lisp by default) and add the following line in your ~/.sawfish/rc file.
You can bind a key to mousetrap-left-click using sawfish-ui