Red Hat Bugzilla – Bug 530850
Feature: add support for Grave key as a toggle for Thai input
Last modified: 2012-07-23 22:00:25 EDT
Microsoft Windows offer Grave Accent (`) as one of the buttons that can be used to change input method. This option only present if every Regional & Language Options settings are set to Thai.
New users moving from Linux are having habit of press the ` key to switch layout (It's de facto standard here) so Thai Linux communities (namely OpenTLE and Ubuntuclub) have created a deb that add Grave to one of the choices.
The deb in question is available from http://mirror.nytes.net/linux/clubuntu/Packages/xkb-data-grave.deb
I suggest that we should provide this out of the box but not the default one. I have studied the deb and found that these files are changed (line number and file path is as of xkeyboard-config 1.6-3.fc12)
- ./base line 941 AND ./evdev line 883 APPEND
grp:grave_switch = +group(grave_switch)
- ./base.lst AND ./evdev.lst line 610 APPEND
grp:grave_switch Grave (~)
- ./evdev.xml and ./base.xml line 4280 APPEND
(Note that Microsoft Windows labeled it as "Grave Accent" but most end user are know it as the tilde (~))
In short: Thailand use grave as de facto standard for layout switching thus we need to add it into the list of available layout switching options.
Of course, I don't expect this to be the default option.
If possible, super+grave should print out ` and shift+grave should print out ~. Above patch will ignore the modifier key and switch layout. (Both tricks only work in Microsoft Windows earlier than Vista)
Since this bugzilla report was filed, there have been several major updates in various components of the Xorg system, which may have resolved this issue. Users who have experienced this problem are encouraged to upgrade their system to the latest version of their packages (at least F12Beta, but even better if the very latest versions).
Please, if you experience this problem on the up-to-date system, let us now in the comment for this bug, or whether the upgraded system works for you.
If you won't be able to reply in one month, I will have to close this bug as INSUFFICIENT_DATA. Thank you.
[This is a bulk message for all open Fedora Rawhide Xorg-related bugs. I'm adding myself to the CC list for each bug, so I'll see any comments you make after this and do my best to make sure every issue gets proper attention.]
Clearing needinfo. This is feature request, not a bug.
Adding FutureFeature keyword
Fedora Bugzappers volunteer triage team
Manatsawin: are we talking about input method switching or layout switching here? I'm not sure about this from the first comment which hints at IM first, but layout later.
In that context; just curious if you have tried/use Thai input
with ibus-m17n and m17n-db-thai?
I'm talking about xim method switching. (The one that can be setup at GNOME's Keyboard Setting)
I tried IBus, it can use grave as one of the toggle key but the way IBus enter Thai character isn't what Thais use. (In IBus I have to type next character before it write the last character into the input box. Other OS use XIM-like method: type everything into the input box)
reassigning to ibus
(In reply to comment #7)
> I'm talking about xim method switching. (The one that can be setup at GNOME's
> Keyboard Setting)
That is not XIM but xkb.
> I tried IBus, it can use grave as one of the toggle key but the way IBus enter
> Thai character isn't what Thais use. (In IBus I have to type next character
> before it write the last character into the input box. Other OS use XIM-like
> method: type everything into the input box)
Can you please tell us exactly what you tested so we can improve it.
"Traditional" Thai input is to input like English: everything into the input box.
IBus Thai Input use a small box to type in base character + vowels before put it into the input box.
Like when you type ที่วันนี้ the IBus input box will show "ที่" "วั" "น" "นี้" while traditional way is type the entire string as-is into the box.
Yes I understand it is using pre-edit.
I need to know when exact input map you used to input Thai?
One of these:
In end user's perspective th-tis820, th-kesmanee have no visible difference so they might select one as they wish.
th-pattachote is much like Dvorak keyboard: not much used (but still used and types faster
So what is the layout you prefer - ie what layout is offered by xkb?
in my GNOME keyboard preferences (which should be from XKB) "Thailand" input method (which we preferred) is th-kedmanee. also pattachote and tis-820 is offered.
I see: perhaps Kedmanee should be ported to m17n-contrib.
Sorry for long pause.
You need to provide clearer information so we can help:
ie to describe the exact steps (install, login, application,
Seems you are actually talking about Xkb not XIM.
(In reply to comment #0)
> The deb in question is available from
This would be xkeyboard-config and your patch should be submitted upstream.
I filed bug 619309 for:
(In reply to comment #10)
> IBus Thai Input use a small box to type in base character + vowels before put
> it into the input box.
> Like when you type ที่วันนี้ the IBus input box will show "ที่" "วั" "น" "นี้"
> while traditional way is type the entire string as-is into the box.
scratch build available here, is that about what you wanted?
(this is a rawhide scratch build but it should just work with any recent fedora version)
activate with "setxkbmap -option "grp:grave_toggle" or by clicking the matching checkbox in the UI
needinfo for nearly 2 years, closing.