Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm wondering where is the config file of ibus stored? I checked ~/.config/ibus, and there's only a dbus socket. And no ~/.ibus folder available.

share|improve this question
    
strange. I have it in ~/.config directory on Fedora17 –  Serge Sep 29 '12 at 8:43
    
Try this command: find ~ -name ibus –  Serge Sep 29 '12 at 8:44
    
@Serge I only have a /root/.config/ibus/bus/5007c835ce187f9b2248e04c50670a64-unix-0, what you have? –  warl0ck Sep 29 '12 at 8:49

2 Answers 2

up vote 3 down vote accepted

IIRC ibus uses gconf to store its settings so you should be able to use either gconf-editor or gconftool (CLI) to get/set those settings.

share|improve this answer
    
Not on Ubuntu 13.10... I can't find the "ibus" phrase in gconf-editor. Ubuntu 13.10 uses ibus version 1.5.3 –  Adam Ryczkowski Dec 12 '13 at 12:24

I have seen the same thing elsewhere, that the configuration is stored in gconf, and that you can edit that with command line tools. But when I try that, it doesn't seem to have any effect. I am on Suse Linux 12.3.

To find out what to change, I first did a recursive-list of gconf and saved it to a file:

gconftool-2 --recursive-list / > beforeConfig.txt

Then I started ibus-setup, and did 'Select an Input Method', Japanese, Anthy, Add, Close.

Then I did another recursive-list:

gconftool-2 --recursive-list / > afterConfig.txt

Then I did a diff on the two files and saw that the only difference was with preload engines:

preload_engines = []

     vs.

preload_engines = [anthy]

And that it was under /desktop/ibus/general So I figured that starting over with ibus unconfigured, I could do the following to configure it:

gconftool-2 --set /desktop/ibus/general/preload_engines --type string "[anthy]"

After that, I did another recursive-list, and found it identical to the afterConfig.txt one. But then if I start ibus-setup, it does not show any Input methods configured. And it does not work as if it is configured.

So is the configuration also stored somewhere else besides gconf? Someplace that actually matters? Or am I doing something wrong when setting the preload_engines value?

I also tried it on Suse Linux 12.1, with the same results, except a somewhat different value for that key:

preload_engines = [anthy,m17n:ko:han2]
share|improve this answer
2  
This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. –  jasonwryan Jun 4 at 18:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.