Red Hat Bugzilla – Bug 541492
ibus needs to support some xkb layout switching
Last modified: 2010-10-08 08:38:44 EDT
Description of problem:
Currently we have a mixture of xkb layout config and input methods
on the desktop: even some input methods maps are just made to
avoid xkb setting/configuration issues etc. And there is a
gnome keyboard indicator/switcher applet for changing layout.
This makes for a confusing UX and UI. If ibus could handle
this better it might even make sense to run ibus by default
for xkb switching too at least.
It is scratch build for ibus. The srpm is provided by Linpus Engineer. It supports switch xkb layout in ibus systray menu. Please try it.
OK, I'll check this asap.
However originally I thought another package ibus-xkb besides ibus.
Created attachment 385850 [details]
ibus Makefile.am, enginexkbc.py, main.py, varsxkbc.py, setup.ui
Integrating ibus-xkbc is ok however there is a design issue, which layer should be fixed.
I'll back to GDM again to resolve the original issue.
Reassigning - not sure if this still needs any more attention?
Yesterday I saw a commit in a branch.
I'd suggest not to integrate this patch in master. It has many critical problems.
I think the xkb settings should be in the engine only.
I applied the patch:
Also it's better to disable global input method by default.
Now I'm thinking to integrate ibus-xkb-layouts in Fedora.
Yesterday I talked with james.su.
He thinks IMs and layouts should be consolidated and currently no plan to release ibus-xkb-layouts.
I suggested to remove his patch from the branch since I pretty sure it's a wrong patch but not sure.
His bad way is to set 'us' layout forcibly and use IBusEngineDesc.layout in case of use_system_layout.
He suggested Mac OS X has the better implementation, interested.
But currently there are no European keyboards even though IBus will can handle XKB.
I would think it's an idea to use ibus-xkb-layouts for European keyboards but he pointed my approach was also wrong. Using Ctrl + Space is wrong and an engine should have the fixed layout.
Probably I need to work on this to provide the better patch.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Added libxklavier feature.
After talked with the maintainer, I'll separate the library dependencies to another binaries.
Revised the patch:
Updated GUI to change the default xkb layout:
Updated default loaded layouts to check ~/.config/ibus/xkb/xkblayoutconfig.xml in observed-paths.
Created scratch build for f13:
Today's gcc is old for f14/f15:
Rebuild the scratch build with this feature for f13:
It includes the fix of bug 627107.
Now this feature is available in f14 and f15.
Rebuild the scratch build to fix the default layout(bug 628161):
Rebased the patch:
- Layout typo: s/ar/ara/
- Moved "Cofigure Layout" button on ibus-setup to "Advanced" tab
I created va_list patch:
It can avoid ibus-m17n & ibus-qt compatible failure bug 627256 :
ibus-1.3.7-5.fc14 has been submitted as an update for Fedora 14.
Revised the patch to support xkb variant and option
ibus-1.3.7-5.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
Revised the patch:
- Fixed a bug when changed the system layout "jp(kana)" to "jp".
- Redesigned xkb setting dialog
- Applied 37ed695bfcaa764c6fd80d4f3d29f3df9032f83f
- Removed "cn,kr,jp" from the default layouts in input methods.
- Support group layouts in the system layouts.
- Put "jp(kana)" into non-latin layouts. i.e. "jp(kana),us"
- Customize the title in ibus.EngineCombobox and ibus.EngineTreeView.
F13 scratch build:
I integrated the latest patch in rawhide.
Currently f14 has a build problem in gtk3:
ibus-1.3.7-11.fc14 has been submitted as an update for Fedora 14.
ibus-1.3.7-11.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update ibus'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/ibus-1.3.7-11.fc14
ibus-1.3.7-11.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.