LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-08-2022, 05:28 PM   #1
starkid
Member
 
Registered: Jan 2012
Posts: 90

Rep: Reputation: Disabled
Taiwanese xkb layout not working


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?
 
Old 05-08-2022, 07:04 PM   #2
starkid
Member
 
Registered: Jan 2012
Posts: 90

Original Poster
Rep: Reputation: Disabled
Well I just re-mapped keys in the xkb symbol file. But I'd like to know why a Taiwanese layout was set to output English.
 
  


Reply

Tags
xkb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing keyboard layout, or Has xkb a cache? Esquirol Linux - Newbie 2 12-08-2011 10:30 AM
How to setup xorg xkb layout options per-user? 10110111 Linux - Desktop 1 10-28-2009 02:12 PM
Slackware 13.0 x86 & x86_64 - trouble with xkb layout theget Slackware 4 09-14-2009 09:33 PM
problem creating custom xkb layout drobert Linux - Desktop 3 06-28-2008 08:21 PM
xkb layout changing Ipolit *BSD 3 02-03-2004 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration