6

I would like to have ibus work like to corresponding system in OS X.

In order to get an "à" in a text field I want to make these steps:

  1. I press the Compose key
  2. I press the a key
  3. (an "a" appear in the text field with a yellow background)
  4. (a menu of possible accented "a" letters appears)
  5. I press the ` key
  6. (an "à" appears and the yellow background behind the character disappear)
  7. (the menu disappear and I am no longer in the "Composite mode" and can continue writing text)

How can I configure ibus in Precise 12.04 to get this result?

muru
  • 197,895
  • 55
  • 485
  • 740
gioele
  • 406
  • 1
  • 7
  • 19
  • 1
    And why you just don't press '`' and then 'a'? – Lucio May 04 '13 at 16:07
  • 3
    Because in my mind I see "à" as "a plus accent", not "accent plus a". Anyway, I would like ibus to give me the same result for "grave" + "a" and "a" + "grave", as the OS X compositing system does. – gioele May 04 '13 at 16:21
  • 1
    @gioele I'm running 12.04 and Compose then a then Accent does the trick for me, though I don't have a yellow background option, I didn't need to configure it in a special way for it to work that way around. Maybe give us your key-binds and keyboard layout, might be something to do with language differences. – Oyibo Jun 02 '13 at 09:52
  • @Oyibo: does the compose mode goes away after you press the accent? in my case ibus remains in compose mode. – gioele Jun 02 '13 at 19:30
  • @gioele Yes it leaves it once I've pressed the accent I'd like. – Oyibo Jun 03 '13 at 08:20
  • @Oyibo what ibus input method are you using? – gioele Jun 03 '13 at 11:37
  • @gioele the default one on 12.04, not sure which it is :P – Oyibo Jun 06 '13 at 13:54

1 Answers1

0

ibus supports input with plain old XCompose, i.e. without the compose-table method. To configure ibus to work with XCompose follow this answer.

Then you can start using it with no additional movement, the system Compose file have already defined the combinations on both order.

But just in case if you'd want to add something more, you can create a ~/.XCompose file. You can also download a popular XCompose, like this one, and then edit to suit your needs, but watch out for dragons, i.e. the one I linked have the combination you want redefined to input a LATIN LETTER SMALL CAPITAL A. Also note: I don't know out of hands if there's a way to reload the file without logging out/logging in. ibus restart for some reason doesn't work, I reported a bug.

Hi-Angel
  • 3,702
  • 1
  • 29
  • 36