As a result of the threads "How come i wrote a NO-BREAK SPACE in
xterm+bash" and "How to disable certain keys", I'm revisiting my
own keyboard configuration, starting with the VCs.

My jessie laptop's /etc/default/keyboard contains
XKBMODEL="latitude"
XKBLAYOUT="gb"
XKBVARIANT=""
XKBOPTIONS="caps:none,compose:menu,nbsp:none,terminate:ctrl_alt_bksp"

All the XKBOPTIONS items work as expected except for nbsp:none.
I would have expected that this would make the Space bar produce an
ordinary space, "<space>", regardless of any modifiers pressed.
In fact, Ctrl-Space emits ^@ and Alt-Space emits ^[<space>

One of the things I hoped to configure is the Control key, in
particular to get Ctrl-arrows and the other Ctrl-"navigation" keys to
emit different codes from their non-Ctrl codes. Only BackSpace (of
those keys) appears to be modified (and Ctrl-Fn keys emit nothing).

An important file is /etc/console-setup/cached_UTF-8_del.kmap.gz
What I haven't worked out is: what puts this cache file together?
It's obviously been constructed because near the end it says:
# The content of this file will be appended to the keyboard layout.
followed by commented examples of changes one might make.
Where was the so-called "this file" found when this cache was
constructed?

$ man keymaps documents, I think, what I want to do, but I can't see
what file to do it on. It just says "You can then make a small local
file redefining only those modifier combinations and loading it after
the main file." However, /etc/default/keyboard only has KMAP which
has to refer to a complete replacement map. $ locate keymap and
$ locate kmap don't turn up anything obvious to me.

Cheers,
David.

Reply via email to