Index ¦ Archives ¦ Atom ¦ RSS

Setup Debian keyboard layout and distribution

During the Debian installation process we are offered to setup our keyboard layout and distribution; sadly my favorite one is not listed as one the possible options.

I would like to be able to set it up as English International with AltGr dead keys.

This is something I have to do as a post-install setting by running the next command:

su -c 'localectl set-x11-keymap us thinkpad altgr-intl'

This sets the layout as English US; the model compatible with my Lenovo ThinkPad T440p; the variant as Dead keys via AltGr, which means I can input characters as á or ñ by just pressing: AltGr + a or AltGr + n respectively.

pionen@lilit:~$ localectl
System Locale: LANG=en_US.UTF-8
    VC Keymap: n/a
   X11 Layout: us
    X11 Model: thinkpad
  X11 Variant: altgr-intl

This way I can continue using the English US keyboard layout when writing in either English or Spanish without having to change the variant or physical layout.

© Porfirio Páiz. Built using Pelican. Theme by Giulio Fidente on github.