ISO keybord remap for Romance languages. - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: ISO keybord remap for Romance languages. (/showthread.php?tid=9666) |
ISO keybord remap for Romance languages. - IoSer - 04-15-2020 I completed the definition of an ISO keyboard with accented characters for Romance languages. I have not prepared a script or an installation package. OPTIMIZED LAYOUT, FILE CHANGED If there is interest, installation can be made easier. In the meantime, mark here how you can remap the keyboard. This is the file named "iso" which should be placed in the directory (for Debian-like distributions) "/usr/share/X11/xkb/symbols" Code: default partial These are the lines to add to the "gb" file of this directory: Code: partial alphanumeric_keys example: ... include "level3(ralt_switch)" }; <-- enter HERE ------------------------------------------------------------------- // Describe the differences between the US Colemak layout // and a UK variant. By Andy Buckley (andy@insectnation.org) partial alphanumeric_keys xkb_symbols "colemak" { include "us(colemak)" ... edit the file "/usr/share/X11/xkb/rules/base.lst" adding the line: Code: iso gb: ISO (with latin letters) for example ... mac_intl gb: English (UK, intl., Macintosh) <-- enter HERE ------------------------------------------------------------------- colemak gb: English (UK, Colemak) ... edit the file "/usr/share/X11/xkb/rules/base.xml" adding the lines: Code: <variant> for example ... <variant> <configItem> <name>mac_intl</name> <description>English (UK, intl., Macintosh)</description> </configItem> </variant> <-- enter HERE ------------------------------------------------------------------- <variant> <configItem> <name>colemak</name> <description>English (UK, Colemak)</description> </configItem> </variant> ... copy the two files "base.lst" and "base.xml" replacing respectively "evdev.lst" and "evdev.xml" For safety, better rename the initial files so you can easily restore them. To make the changes effective, use mate control center / keybord / add keybord ("mate-keyboard-properties") and select UK (GB) language and "ISO (with latin letters)" variant. The graphical layout is in the attachmentent RE: ISO keybord remap for Romance languages. - tophneal - 04-15-2020 I think Jack's keyboard firmware updater is capable of setting layouts, that may be a good way to make this easily available. RE: ISO keybord remap for Romance languages. - IoSer - 04-16-2020 CHANGED The keyboard layout addition I reported is for X11, so it can be used by any X11 / xorg based desktop environment. There is no need to change the keyboard firmware. The new layout added is in attachment (obtainable with the keyboard printing during the selection). Currently does not work with: dpkg-reconfigure keyboard-configuration Informations https://www.x.org/wiki/XKB/ |