On 08/05/2017 23:53, Ken Moffat via blfs-book wrote:
On Mon, May 08, 2017 at 09:41:33PM +0100, akhiezer via blfs-book wrote:
Date: Mon, 08 May 2017 18:04:32 -0000
From: via blfs-book <[email protected]>

Author: pierre
Date: Mon May  8 11:04:32 2017
New Revision: 18702
[...]
and add an example of XkbLayout for non-qwerty keyboard.*
[...]
+ <para>
+      The <quote>XkbLayout</quote> line is an example for a French (AZERTY)
+      keyboard. Change it to your keyboard model. That line is not needed for
+      a QWERTY (US/GB) keyboard.

Hmmm. Is that entirely true... . I've certainly 'carried-forward'
the line:

   Option "XkbLayout" "gb,us"

; w/o e.g. the 'gb' then for at least up to recent X, the layout is not
'gb' type. Is it definitely 'not needed' for X now?

I have to strongly disagree that gb is not needed for a British
QWERTY keyboard: the key caps have several differences (double
quotes on shifted 2, Sterling on shifted 3, corresponding movements
for related symbols e.g. AT is on shifted single quote.

For a US keyboard, I believe us has never been needed unless you
wish to specify a variant, i.e. if nothing is specified you get some
form of American QWERTY.

O/T digression now I'm talking about X keyboard maps -
as I've mentioned before, I have two extended variants for gb
(deader - more dead keys including e.g. hook, horn (not normally in
gb although they are in us), stroke, currency) and rusphon (the
phonetic russian modified a bit).  Whether I can always remember
which is which is a different matter, particularly since some of my
recent keyboards move things like #~ (AltGr gives dead grave and
dead breve in a regular gb map, and that used to be next to '@).  I
also have a modified Compose file to add a lot of obscure things
such as Єє (ukrainian E on AltGr in my rusphon) and to give better
greek coverage using a 'dead greek' key αβγδε (alpha, beta, gamma,
delta, epsilon).  Keymaps are *fun* ;-)

Those aren't ever going upstream, but are available if anybody cares.

My /usr/share/X11/xorg.conf.d/11-keyboard.conf (arguably it might be
better in /etc, since it is a local change by the idiot who passes
for a sysadmin here) is -

Section "InputClass"
         Identifier "keyboard-all"
         Driver "evdev"
        # for my own russian variant, specific to a gb keyboard, I
        # put it in gb
         Option "XkbLayout" "gb,gb"
         Option "XkbModel" "evdev"
        # add my own 'deader' gb variant - more dead keys
        Option "XkbVariant" "deader,rusphon"
         Option "XkbOptions"
"ctrl_alt_bksp,grp:lctrl_lwin_rctrl_menu,compose:caps"
         MatchIsKeyboard "on"
EndSection

Even for somebody using a standard keyboard map, that shows an
example of how to use the CapsLock for Compose : Compose got
mentioned on the gimp user list today when somebody asked how to
input u-umlaut, so it isn't dead yet.

ĸen
OK, will remove "/GB", sorry for that (I asked British colleagues about GB keyboards, but they must have lived to long in France ;-). Please, feel free to add anything to that part, you know all those things better than I.

Pierre

--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to