How to add a compose character to a xkb keyboard layout
3
votes
1
answer
653
views
I created a custom Ukrainian ISO 9 layout successfully (by redacting
/usr/share/X11/xkb/symbols/ua
and several other files), it works and all but it lacks one letter, namely G with a grave
i.e. 'G̀' (for 'Ґ'), which is absent in Unicode
partial alphanumeric_keys
xkb_symbols "latynka" {
include "ua(winkeys)"
name[Group1]= "Ukrainian (Latynka ISO 9)";
key { [ apostrophe, asciitilde , dead_acute ] };
key { [ 1, exclam ] };
key { [ 2, quotedbl ] };
key { [ 3, numbersign ] };
key { [ 4, asterisk ] };
key { [ 5, colon ] };
key { [ 6, comma ] };
key { [ 7, period ] };
key { [ 8, semicolon ] };
key { [ 9, parenleft ] };
key { [ 0, parenright ] };
key { [ minus, underscore ] };
key { [ equal, plus ] };
key { [ j, J ] };
key { [ c, C ] };
key { [ u, U ] };
key { [ k, K ] };
key { [ e, E ] };
key { [ n, N ] };
key { [ g, G ] };
key { [ scaron, Scaron ] };
key { [ scircumflex, scircumflex ] };
key { [ z, Z ] };
key { [ h, H ] };
key { [ idiaeresis, Idiaeresis ] };
// key { [ ggrave, Ggrave ] }; // does not exist
// key { [ dead_grave g, dead_grave G ] }; // xkb does not allow multiple characters per key press
key { [ f, F ] };
key { [ igrave, Igrave ] };
key { [ v, V ] };
key { [ a, A ] };
key { [ p, P ] };
key { [ r, R ] };
key { [ o, O ] };
key { [ l, L ] };
key { [ d, D ] };
key { [ zcaron, Zcaron ] };
key { [ ecircumflex, Ecircumflex ] };
key { [ acircumflex, Acircumflex ] };
key { [ ccaron, Ccaron ] };
key { [ s, S ] };
key { [ m, M ] };
key { [ t, T ] };
key { [ i, I ] };
key { [ minutes, minutes ] };
key { [ b, B ] };
key { [ ucircumflex, Ucircumflex ] };
key { [ slash, question ] };
key { [ period, comma ] };
include "level3(ralt_switch)"
};
Is there any way to add it?
Asked by Xabab
(31 rep)
Jun 14, 2022, 10:55 PM
Last activity: Aug 31, 2022, 09:22 AM
Last activity: Aug 31, 2022, 09:22 AM