Previously I had US English Colemak, Russian, and Arabic set to be available at login in an xorg.conf file via xkb. All these worked fine.
Then I added Taiwanese, which I expect to output Zhuyin Fao aka bopomofo, the Taiwanese alphabet. When I switch to this layout, it outputs latin characters (consistent with a US English QWERTY layout) in all the applications I've tried except for one: In my (Mozilla-based) browser, I'll be typing with Colemak and suddenly the Taiwanese characters will be output without my switching the language. I can't switch back to English when this happens; cycling through the layouts gives me a Colemak arrangement of the Taiwanese letters, Russian, Arabic, and QWERTY Taiwanese instead of what's in the xorg file. If I move the browser tab to a new window, however, the input will go back to US Colemak.
Here's is my keyboard setup:
Code:
Section "InputClass"
Identifier "keyboard-layout"
Driver "libinput"
MatchIsKeyboard "yes"
Option "XkbModel" "pc104"
Option "XkbLayout" "us,ru,ar,tw"
Option "XkbVariant" "colemak,,qwerty_digits,"
Option "XKbOptions" "keypad:pointerkeys,terminate:ctrl_alt_bksp,grp:rctrl_rshift_toggle,shift:both_capslock_cancel"
EndSection
I noticed that the symbol file for xkb Taiwanese starts off with "include us(basic)." I'm assuming that's why it outputs latin characters. I tried commenting that out and restarting X11, but the layout just output latin characters in some other random layout.
Any ideas how to get the Taiwanese layout to consistently output the correct alphabet?