Tue 19 January 2016

Filed under desktop

Tags windows

After having been using Linux for over 20 years now, one of the few things I really miss in Windows, is the "Compose Key". It does exist, but until today, I was never happy with the mapping. For ages I have this mapped on the Caps Lock key. But under Windows this sometimes leads to a "stuck" caps lock. I've tried different Compose Key applications on Windows, and they all had the same problem.

I was looking for something like .Xmodmap on Windows, and today I found it. You can rebind scan codes using the Windows Registry.

An example entry might be the following:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,5c,e0,3a,00,00,00,00,00

This maps scan code 3a 00 (usually sent by the caps-lock key) to 5c e0 (usually sent by the right Windows button). So now pressing caps-lock is interpreted as the right windows key by the OS. This one can be safely bound as compose key as it's not a "sticky" key like caps-lock.



Mon 23 February 2015

Filed under desktop

Tags kde linux desktop

The Problem

For ages, I was annoyed that neither gvim nor xterm maximised properly in some desktop environment (KDE being one of them). They both have a small "gap" around the outermost screen edges. It is not only visually annoying, but I am also used to "throw" the mouse to …

Read More

Michel Albert © Michel Albert Powered by Pelican and Twitter Bootstrap. Icons by Font Awesome and Font Awesome More