Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236713

Re: Debian Linux keyboard mapping files ...

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: Debian Linux keyboard mapping files ...
Date 2021-07-01 19:30 +0200
Message-ID <Cw8FH-1B1-5@gated-at.bofh.it> (permalink)
References <CvY3E-3MT-1@gated-at.bofh.it> <Cw6aR-8sv-1@gated-at.bofh.it> <Cw830-19v-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jul 01, 2021 at 12:46:01PM -0400, Albretch Mueller wrote:
>  Given the baseline option a user chooses as "language" during
> installation, the codes sent by the keyboard should be interpreted.

>  There should be files with the associations of (unicode) numbers and
> keys on a keyboard. I don't think that information is "secret" in any
> way. Where can I find those files?

https://wiki.debian.org/Keyboard

This points to the configuration file /etc/default/keyboard.

That points to the keyboard(5) man page.

Which in turn points to the following resources:

http://www.xfree86.org/current/XKB-Config.html
https://wiki.archlinux.org/index.php/X_KeyBoard_extension
http://pascal.tsu.ru/en/xkb/
http://www.charvolant.org/~doug/xkb/
http://xfree86.org/current/XKBproto.pdf

The Arch wiki page points me to the xkbcomp(1) command, which tells me
that keymaps are stored in a compiled form, and stored within the X
server's memory.  You can use xkbcomp to dump this to a file, and then
inspect the file.  Of course this does not tell us where the files
normally live on the system, to be slurped up by the X server as it's
beginning its lifespan.

While looking for such files, which I did not quite find, I *did* find
/usr/share/X11/xkb/symbols/us which looks relevant.  At least for me,
since my keyboard is configured to have XKBLAYOUT="us".

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Debian Linux keyboard mapping files ... Albretch Mueller <lbrtchx@gmail.com> - 2021-07-01 08:10 +0200
  Re: Debian Linux keyboard mapping files ... Will Mengarini <seldon@eskimo.com> - 2021-07-01 09:40 +0200
  Re: Debian Linux keyboard mapping files ... David Wright <deblis@lionunicorn.co.uk> - 2021-07-01 16:50 +0200
    Re: Debian Linux keyboard mapping files ... Albretch Mueller <lbrtchx@gmail.com> - 2021-07-01 18:50 +0200
      Re: Debian Linux keyboard mapping files ... Greg Wooledge <greg@wooledge.org> - 2021-07-01 19:30 +0200
      Re: Debian Linux keyboard mapping files ... David Wright <deblis@lionunicorn.co.uk> - 2021-07-01 23:00 +0200
        Re: Debian Linux keyboard mapping files ... Albretch Mueller <lbrtchx@gmail.com> - 2021-07-02 08:30 +0200
          Re: Debian Linux keyboard mapping files ... Greg Wooledge <greg@wooledge.org> - 2021-07-02 13:40 +0200
            Re: Debian Linux keyboard mapping files ... Albretch Mueller <lbrtchx@gmail.com> - 2021-07-02 17:40 +0200
              Re: Debian Linux keyboard mapping files ... Albretch Mueller <lbrtchx@gmail.com> - 2021-07-03 03:00 +0200
          Re: Debian Linux keyboard mapping files ... David Wright <deblis@lionunicorn.co.uk> - 2021-07-04 17:30 +0200
            Re: Debian Linux keyboard mapping files ... <tomas@tuxteam.de> - 2021-07-04 17:40 +0200
            Re: Debian Linux keyboard mapping files ... Albretch Mueller <lbrtchx@gmail.com> - 2021-07-04 21:40 +0200
              Re: Debian Linux keyboard mapping files ... Greg Wooledge <greg@wooledge.org> - 2021-07-04 21:40 +0200
                Re: Debian Linux keyboard mapping files ... David Wright <deblis@lionunicorn.co.uk> - 2021-07-05 07:00 +0200

csiph-web