Attempting to create a custom keyboard layout.
|
probably xmodmap and/or xkeymap are the solution.
|
Quote:
However, when you alter a lot of the default key-maps for xmodmap, i.e. when the xmodmap.[country-code] becomes somewhat “huge”, it takes time to load it. If you need to test your new settings or for other reasons want to call xmodmap on such a configuration, it may block your input for a while. Used on system start-up, it may take a little longer than with the standard-settings. xmodmap is great, however, when you want to alter or add only a few keys. One mapping-file that I use is just this: Code:
! Ω and @ Ω |
Xmodmap is ok for altering the odd key, but it doesn't always play well with the Xorg system.
If you use the command setxkbmap -print you can see how your keyboard driver is created. In mine, the output xkb_symbols { include "pc+gb+gr:2+astro:3+inet(evdev)+group(shift_caps_toggle)+terminate(ctrl_alt_bksp)" }; shows that it's using 7 files from /usr/share/X11/xkb/symbols. The ones that relate to the alphanumeric parts of the keyboard are gb, gr, and astro. You will presumably have "us" instead. Your placement of é shows how things work: key <AC03> { [ e, E, eacute, Eacute ] }; shows that the third key (03) in the third alphanumeric row (AC) gives "e E é É" with Shift, ThirdLevelShift, and both together. So, it's quite easy to re-write these things. For example, my gb gives phonetic symbols on levels 3 and 4, while astro gives astrological ones. Don't forget that you can also get diacritics with a Compose key (I use the Windows menu key for that). This can be customised with a ~/.XCompose file. Thus mine includes <Multi_key> <t> <l> : "ƛ" U019B # Latin small LAMDA with stroke <Multi_key> <comma> <s> : "ș" U0219 # Latin small S with comma below As for the flag, you can customise that https://winaero.com/blog/custom-flag...yboard-layout/ If you create your own flags, you can convert png or jpg to svg with Image Magic's convert or mogrify commands. |
Thanks guys!
It looks like I'm going to have to talk to this Steffen Bruentjen guy, see if I can collaborate a bit with him with our somewhat similar goals. I will keep things updated. |
|
All times are GMT -5. The time now is 08:11 PM. |