Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some issue with custom keymap and macro #6

Open
zenfas opened this issue Dec 7, 2022 · 1 comment
Open

Some issue with custom keymap and macro #6

zenfas opened this issue Dec 7, 2022 · 1 comment

Comments

@zenfas
Copy link

zenfas commented Dec 7, 2022

  1. Macro:
    a. "Macro editor" should display in Gui config (1), current is empty.
    Screenshot_20221207_105646
    b. Captial character declare not work (Ibus-bamboo ok)
    Ex: VN:Việt Nam
  2. Custom Keymap should have example, new people don't have how to declare it, in ibus-bamboo, it open ibus-bamboo.config.json file have some example, help user can create their own method.

ibus-bamboo.config.json

{
"InputMethod": "Telex",
"InputMethodDefinitions": {
"Microsoft layout": {
"!": "_Ă",
"#": "_Ê",
"$": "_Ô",
")": "_Đ",
"0": "__đ",
"1": "__ă",
"2": "__â",
"3": "__ê",
"4": "__ô",
"5": "DauHuyen",
"6": "DauHoi",
"7": "DauNga",
"8": "DauSac",
"9": "DauNang",
"@": "_Â",
"[": "__ư",
"]": "__ơ",
"{": "_Ư",
"}": "Ơ"
},
"Telex": {
"a": "A_Â",
"d": "D_Đ",
"e": "E_Ê",
"f": "DauHuyen",
"j": "DauNang",
"o": "O_Ô",
"r": "DauHoi",
"s": "DauSac",
"w": "UOA_ƯƠĂ",
"x": "DauNga",
"z": "XoaDauThanh"
},
"Telex + VNI": {
"0": "XoaDauThanh",
"1": "DauSac",
"2": "DauHuyen",
"3": "DauHoi",
"4": "DauNga",
"5": "DauNang",
"6": "AEO_ÂÊÔ",
"7": "UO_ƯƠ",
"8": "A_Ă",
"9": "D_Đ",
"a": "A_Â",
"d": "D_Đ",
"e": "E_Ê",
"f": "DauHuyen",
"j": "DauNang",
"o": "O_Ô",
"r": "DauHoi",
"s": "DauSac",
"w": "UOA_ƯƠĂ",
"x": "DauNga",
"z": "XoaDauThanh"
},
"Telex + VNI + VIQR": {
"'": "DauSac",
"(": "A_Ă",
"*": "UO_ƯƠ",
"+": "UO_ƯƠ",
".": "DauNang",
"0": "XoaDauThanh",
"1": "DauSac",
"2": "DauHuyen",
"3": "DauHoi",
"4": "DauNga",
"5": "DauNang",
"6": "AEO_ÂÊÔ",
"7": "UO_ƯƠ",
"8": "A_Ă",
"9": "D_Đ",
"?": "DauHoi",
"\": "D_Đ",
"^": "AEO_ÂÊÔ",
"": "DauHuyen", "a": "A_Â", "d": "D_Đ", "e": "E_Ê", "f": "DauHuyen", "j": "DauNang", "o": "O_Ô", "r": "DauHoi", "s": "DauSac", "w": "UOA_ƯƠĂ", "x": "DauNga", "z": "XoaDauThanh", "~": "DauNga" }, "Telex 2": { "[": "__ơ", "]": "__ư", "a": "A_Â", "d": "D_Đ", "e": "E_Ê", "f": "DauHuyen", "j": "DauNang", "o": "O_Ô", "r": "DauHoi", "s": "DauSac", "w": "UOA_ƯƠĂ__Ư", "x": "DauNga", "z": "XoaDauThanh", "{": "_Ơ", "}": "_Ư" }, "Telex W": { "a": "A_Â", "d": "D_Đ", "e": "E_Ê", "f": "DauHuyen", "j": "DauNang", "o": "O_Ô", "r": "DauHoi", "s": "DauSac", "w": "UOA_ƯƠĂ__Ư", "x": "DauNga", "z": "XoaDauThanh" }, "VIQR": { "'": "DauSac", "(": "A_Ă", "*": "UO_ƯƠ", "+": "UO_ƯƠ", ".": "DauNang", "0": "XoaDauThanh", "?": "DauHoi", "^": "AEO_ÂÊÔ", "": "DauHuyen",
"d": "D_Đ",
"~": "DauNga"
},
"VNI": {
"0": "XoaDauThanh",
"1": "DauSac",
"2": "DauHuyen",
"3": "DauHoi",
"4": "DauNga",
"5": "DauNang",
"6": "AEO_ÂÊÔ",
"7": "UO_ƯƠ",
"8": "A_Ă",
"9": "D_Đ"
},
"VNI Bàn phím tiếng Pháp": {
""": "DauHuyen",
"\u0026": "XoaDauThanh",
"'": "DauHoi",
"(": "DauNga",
"-": "DauNang",
"
": "UO_ƯƠ",
"à": "D_Đ",
"ç": "A_Ă",
"è": "AEO_ÂÊÔ",
"é": "DauSac"
}
},
"OutputCharset": "Unicode",
"Flags": 7,
"IBflags": 295410,
"Shortcuts": [
1,
126,
0,
0,
0,
0,
0,
0,
5,
117
],
"DefaultInputMode": 2,
"InputModeMapping": {
"kate:kate": 1
}
}

@no-vici
Copy link

no-vici commented Feb 27, 2023

I created a text file called "bamboo-macro-VNI.conf" under "~/.config/fcitx5/conf/" with something like the bellow example:

[Macro/0]
Key=vn
Value="Việt Nam"

[Macro/1]
Key=v+
Value="🦆+"

[Macro/2]
Key=ko
Value="không"

[Macro/3]
Key=nv
Value="Người Việt"

[Macro/4]
Key=tv
Value="Tiếng Việt"

[Macro/5]
Key=dvn
Value="Dân Việt Nam"

[Macro/6]
Key=vnch
Value="VNCH"

[Macro/7]
Key=mn
Value="Miền Nam"

I have a longer list but no point to put them all here. Change "VNI" into the name of your preferred input method and keep rolling down ;). It was a bit combersome to create the list, but the simplified method could not carried over from ibus-bamboo. I'm stuck with wayland, too lazy to go back to X.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants