How can I make IBus not ignore ~/.XCompose?

Jipí

Since UIM didn't want to play ball after installing Ubuntu 12.04 from scratch, I tried IBus, since that's the IME framework that's coming with Ubuntu by default.

However, ibus-table-compose is a pain in the butt to use because just to enter one character I need to press the key combination to trigger IBus first, enter the respective compose sequence, then press the IBus key combination again to disable it. Instead of that I'd rather like to keep my compose key functionality as provided by XIM, since that requires fewer keystrokes.

The problem is, though, that when the default input method is set to IBus and IBus is deactivated so that (AIUI, since I started it with ibus-daemon --xim) it is bypassed in favor of XIM, the settings in ~/.XCompose seem to be overridden by IBus's own version, so e.g. Compose c a doesn't give ą (a-ogonek) as I defined in the .XCompose file in my home directory, but ǎ (a-hacek), as defined by some other settings.

I've grown quite accustomed to my own mnemnonics, so is there any way to make my system use my own ~/.XCompose file with the default input method still being set to IBus so that IBus will still work e.g. in OpenOffice and other applications that don't let you choose the input method with a context menu?

Note: This is not a duplicate of the question How can I get compose back on ibus?

Rael Gugelmin Cunha

As stated by @von, you CANNOT use your .XCompose with IBUS for now.

You can use uim as Input Method, which supports Unicode, both GTK+ and Qt immodules with legacy XIM support.

A good way to handle your .XCompose and keep existing global Compose is:

  1. Install uim:

    sudo apt-get install uim

  2. Make it the default Input Method:

    im-config -n uim

  3. Edit your .XCompose and add the current keyboard locale (in my case, en_US) as first line:

    include "/usr/share/X11/locale/en_US.UTF-8/Compose"

  4. Done! Restart the programs you want to start to get your .XCompose file.

Known Issues

Ubuntu Unity Dash will never produces a cedilla.

Other Distros

I played a bit with .XCompose and Input Methods on modern distros these days, while trying make Linux keep the same keyboard behavior as Windows(TM) for latin languages (output ç instead of ć, no accented consonants, etc).

I created a repo with this instructions (for Ubuntu and other distributions too): https://github.com/raelgc/win_us_intl

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Can I tell Make to ignore environment variables?

From Dev

How can I make gitweb ignore whitespace changes?

From Dev

XmlArray Serialization - How can I make the serializer ignore the class name of items in a list?

From Dev

How can I make Mockito.verify ignore other type parameters?

From Dev

How can I make boost program options ignore certain inputs to be processed by another interpreter?

From Dev

Jackson with JSON: How can I make it ignore additional properties but error on incomplete json?

From Dev

How can I make echo or printf in shell ignore a double backslash (\\) and print it as I see it

From Dev

How Can I Make Git Ignore Rails Assets?

From Dev

How can I make PHPUnit ignore a file pattern?

From Dev

How can I make ssh ignore .ssh/config?

From Dev

How can I make IBus not ignore ~/.XCompose?

From Dev

How can I make a constructor that contains a number of the same objects but if one its empty to ignore it?

From Dev

How can I make a bot ignore case while only responding to a sentence if it contains a certain word or phrase?

From Dev

How can I make this only match the words after the word 'speaks' and ignore commas and spaces

From Dev

How can I make ssh ignore .ssh/config?

From Dev

How can I make 'diff -X' ignore specific paths and not file names?

From Dev

How can I find out if the ~/.XCompose file has loaded?

From Dev

How can I make Windows Media Player ignore global hotkeys in Windows 7?

From Dev

How can I make NetworkManager ignore my wireless card?

From Dev

How can I find out what ibus-daemon and ibus-ui-gtk3 are doing?

From Dev

How can I get compose back on ibus?

From Dev

Can I make davfs ignore untrusted certificates?

From Dev

How can I make ignore path with slash in PHP?

From Dev

How can I make Excel ignore special characters and spaces when taking data from another cell?

From Dev

How can I make sed delete a line then ignore the test of the file?

From Dev

How can I enable ibus's input popup?

From Dev

How can I find ibus-googlepinyin?

From Dev

How can I prevent BleachBit from clearing iBus Pinyin's memory?

From Dev

How can I make MATLAB to ignore a function?

Related Related

  1. 1

    Can I tell Make to ignore environment variables?

  2. 2

    How can I make gitweb ignore whitespace changes?

  3. 3

    XmlArray Serialization - How can I make the serializer ignore the class name of items in a list?

  4. 4

    How can I make Mockito.verify ignore other type parameters?

  5. 5

    How can I make boost program options ignore certain inputs to be processed by another interpreter?

  6. 6

    Jackson with JSON: How can I make it ignore additional properties but error on incomplete json?

  7. 7

    How can I make echo or printf in shell ignore a double backslash (\\) and print it as I see it

  8. 8

    How Can I Make Git Ignore Rails Assets?

  9. 9

    How can I make PHPUnit ignore a file pattern?

  10. 10

    How can I make ssh ignore .ssh/config?

  11. 11

    How can I make IBus not ignore ~/.XCompose?

  12. 12

    How can I make a constructor that contains a number of the same objects but if one its empty to ignore it?

  13. 13

    How can I make a bot ignore case while only responding to a sentence if it contains a certain word or phrase?

  14. 14

    How can I make this only match the words after the word 'speaks' and ignore commas and spaces

  15. 15

    How can I make ssh ignore .ssh/config?

  16. 16

    How can I make 'diff -X' ignore specific paths and not file names?

  17. 17

    How can I find out if the ~/.XCompose file has loaded?

  18. 18

    How can I make Windows Media Player ignore global hotkeys in Windows 7?

  19. 19

    How can I make NetworkManager ignore my wireless card?

  20. 20

    How can I find out what ibus-daemon and ibus-ui-gtk3 are doing?

  21. 21

    How can I get compose back on ibus?

  22. 22

    Can I make davfs ignore untrusted certificates?

  23. 23

    How can I make ignore path with slash in PHP?

  24. 24

    How can I make Excel ignore special characters and spaces when taking data from another cell?

  25. 25

    How can I make sed delete a line then ignore the test of the file?

  26. 26

    How can I enable ibus's input popup?

  27. 27

    How can I find ibus-googlepinyin?

  28. 28

    How can I prevent BleachBit from clearing iBus Pinyin's memory?

  29. 29

    How can I make MATLAB to ignore a function?

HotTag

Archive