我想使用键盘布局carpalx-full
。
它在文件/usr/share/X11/xkb/symbols/us
.*中定义
但是,当我转到设置>语言和区域>输入源>添加输入源>英语(美国)时,carpalx-full
没有列出。
为什么会这样?我该如何更改键盘布局carpalx-full
?
我正在运行带有 GNOME 3.34.2 的 Ubuntu 19.10。
* 相关部分/usr/share/X11/xkb/symbols/us
如下。
// Carpalx layout created by Martin Krzywinski
// http://mkweb.bcgsc.ca/carpalx/
partial alphanumeric_keys
xkb_symbols "carpalx" {
name[Group1]= "English (Carpalx)";
key <TLDE> { [ grave, asciitilde ] };
key <AE01> { [ 1, exclam ] };
key <AE02> { [ 2, at ] };
key <AE03> { [ 3, numbersign ] };
key <AE04> { [ 4, dollar ] };
key <AE05> { [ 5, percent ] };
key <AE06> { [ 6, asciicircum ] };
key <AE07> { [ 7, ampersand ] };
key <AE08> { [ 8, asterisk ] };
key <AE09> { [ 9, parenleft ] };
key <AE10> { [ 0, parenright ] };
key <AE11> { [ minus, underscore ] };
key <AE12> { [ equal, plus ] };
key <AD01> { [ q, Q ] };
key <AD02> { [ g, G ] };
key <AD03> { [ m, M ] };
key <AD04> { [ l, L ] };
key <AD05> { [ w, W ] };
key <AD06> { [ y, Y ] };
key <AD07> { [ f, F ] };
key <AD08> { [ u, U ] };
key <AD09> { [ b, B ] };
key <AD10> { [ semicolon, colon ] };
key <AD11> { [ bracketleft, braceleft ] };
key <AD12> { [ bracketright, braceright ] };
key <AC01> { [ d, D ] };
key <AC02> { [ s, S ] };
key <AC03> { [ t, T ] };
key <AC04> { [ n, N ] };
key <AC05> { [ r, R ] };
key <AC06> { [ i, I ] };
key <AC07> { [ a, A ] };
key <AC08> { [ e, E ] };
key <AC09> { [ o, O ] };
key <AC10> { [ h, H ] };
key <AC11> { [ apostrophe, quotedbl ] };
key <AB01> { [ z, Z ] };
key <AB02> { [ x, X ] };
key <AB03> { [ c, C ] };
key <AB04> { [ v, V ] };
key <AB05> { [ j, J ] };
key <AB06> { [ k, K ] };
key <AB07> { [ p, P ] };
key <AB08> { [ comma, less ] };
key <AB09> { [ period, greater ] };
key <AB10> { [ slash, question ] };
key <BKSL> { [ backslash, bar ] };
};
...
// Carpalx layout created by Martin Krzywinski
// Full optimization variant without fixed QWERTY-like ZXCV keys
// http://mkweb.bcgsc.ca/carpalx/
partial alphanumeric_keys
xkb_symbols "carpalx-full" {
include "us(carpalx)"
name[Group1]= "English (Carpalx, full optimization)";
key <AD06> { [ b, B ] };
key <AD07> { [ y, Y ] };
key <AD09> { [ v, V ] };
key <AB04> { [ f, F ] };
};