Essential Windows utilities
Tuesday, August 21st, 2007This evening I received an email from the developer of an open source application to duplicate X11 window movement in a Windows environment.
Anybody that’s been reading for a while may know that a little over a year ago, I started a similar project. The main aim was to allow me to move a window around the screen by holding the Alt key while clicking anywhere on the application window.
I didn’t get around to finishing my code off, but I’m very happy to say that the excellent Taekwindow project, taekwindow.sourceforge.net/, is already an excellent solution to the problem, which even includes window resizing with the right mouse button.
Another brilliant utility the same developer made me aware of was KatMouse, www.code-scout.net/katmouse/, which fixes some of the brokenness of the Windows scroll-wheel model:
In GNOME/KDE the component under the mouse cursor receives a scroll event. This means that I can scroll a window or frame that does not have focus.
In Windows, the currently focused object receives the scroll event, which is incredibly annoying. KatMouse is a brilliant fix for this ‘problem’, although I did have to disable ‘Wheel button’ functionality to restore my middle mouse click.
These two applications are already absolute essentials for Windows. Another nice thing that can be done in Vista, is to enable sloppy focus. I did some searching and came across shellrevealed.com/forums/thread/5726.aspx which is this very fix. It involves registry editing, but the change is very simple:
Start regedit.exe, navigate to HKEY_CURRENT_USER\Control Panel\Desktop
Edit UserPreferencesMask and increment the first hex value by +1 in decimal. e.g. my UserPreferencesMask was 9E 3E 07 08 12 00 00 00, I did 9E + 1d and changed the value to 9F 3E 07 08 12 00 00 00 (i.e. 9E + 1d = 9F). A reboot was required but the result was a focus-follows-cursor (technically this is not true, as the last focused application does not lose focus when the pointer leaves the window).



