On Sat, Jan 14, 2017 at 1:32 AM, Rodney Lorrimar <[email protected]> wrote:

> Hi Mark,
>
> This is what I do for caps lock as control key:
>
>     # configuration.nix
>     i18n.consoleKeyMap = (pkgs.writeText "keys.map" ''
>       keymaps 0-255
>       keycode 58 = Control
>     '');
>
> It works for the US keyboard layout. If you use another layout, you
> might want to edit the output of dumpkeys ("kbd" package) yourself, and
> load that file as i18n.consoleKeyMap.
>

​Thank you Rodney. That is exactly what I needed.

Mark
-- 
Mark Gardner
--
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to