Archives: December 2018
Sometimes using Windows is required, for professional reasons, gaming, nostalgia... (nah, just kidding). Then I quickly find myself moving my mouse from a window to another and start typing, expecting that the window I'm typing in has the focus. Or I select a text and click the middle button of my mouse, expecting to paste that text... If you recognize yourself in those expectations, read on...
Select to copy, middle-click to paste
Download True X-Mouse. Just execute it to enable the behaviours. An icon will be displayed in the system tray.
This also enables focus following the mouse pointer without delay.
How to make the focus follow the mouse without using third-party software
I found this tip before reading about True X-Mouse.
- Open Control Panel
- Open Ease of Access Center
- Click Make the mouse easier to use
- Check the option Activate a window by hovering over it with the mouse
- Click OK.
This will give the focus to the window currently under your mouse pointer, great ! Or not... Two things could still bother you: that feature has a delay and it also raises the focused window. To fix that (or "when Windows stops being user-friendly") :
Stop raising focused windows
- Open the Registry Editor (regedit.exe)
- Select HKEY_CURRENT_USER\Control Panel\Desktop
- Double click on UserPreferencesMask in the right pane. These are hexadecimal numbers, which relate to many visual effects. We have to subtract 40 bits from the first hexadecimal value (in my case the first two numbers after 0000). Don't worry, you can do that with Windows Calculator. Set it to Programmer mode in the View menu, then enter the first value - 40. In my case, DF - 40 = 9F. So replace DF with 9F. Be careful not to modify any other number.
- Click OK.
- Still in HKEY_CURRENT_USER\Control Panel\Desktop, double click on ActiveWndTrkTimeout in the right pane. Here you can display it in decimal to directly change the time in milliseconds. Set it to the duration you want: 0, 500 (1/2 second), 1000 (1 second), etc.
- Click OK.
When you are done, log off and back in for the settings to take effect.
Simple fast application launcher
Another feature I missed was polybar which I use in my i3 environment. Download and install Launchy. It is free, cross-platform and open-source.
Press Alt-Space to open it. Click the wheel in the upper right to open its settings. The Catalog tab lets you customize the directories inside which Launchy look for executables. Click the rescan button after updating the directories list. Go to the Skins tab to try other looks.