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

Install ibus-bogo by default #9

Open
3 of 5 tasks
lewtds opened this issue Feb 5, 2013 · 1 comment
Open
3 of 5 tasks

Install ibus-bogo by default #9

lewtds opened this issue Feb 5, 2013 · 1 comment
Milestone

Comments

@lewtds
Copy link
Contributor

lewtds commented Feb 5, 2013

This is how we are going to do it:

  • install ibus-bogo using some kind of hook in the buildscript

But that's not enough. When logged in, by default, no input method program (i.e. ibus) is configured for en_US nor vi_VN locale. That's why we have to setup im-switch. I figured the following out from its manpage:

  • Fork /etc/X11/xinit/xinput.d/ibus to /etc/X11/xinit/xinput.d/ibus-xim changing QT_IM_MODULE to xim
  • Use Debian's alternative system to set /etc/alternatives/xinput-all_ALL to be /etc/X11/xinit/xinput.d/ibus-xim

The second step could be changed so that we

  • create a new file at /etc/alternatives/xinput-vi_VN pointing to /etc/X11/xinit/xinput.d/ibus-xim and another file at /etc/X11/xinit/xinput.d/vi_VN pointing to the first file, just like what they did with /etc/X11/xinit/xinput.d/ja_JP. After that, ibus-bogo will only show up by default in Vietnamese locale. Anything else then the users have to configure ibus themselves.

Having done that, we need to:

@lewtds
Copy link
Contributor Author

lewtds commented Jun 28, 2013

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

No branches or pull requests

1 participant