Hi, On Sat, Aug 03, 2013 at 12:35:58AM +0900, Osamu Aoki wrote: > Anyway, Toni is using extremely convoluted script from .bashrc. > That is too late to set up im-config and should not work.
I have to disagree with this. The script is not convoluted (explanation below), and I launch it from .bash_profile, not .bashrc, so it runs well before anything using any input method (eg. X11) has been started. Now, what the script does: 1. It asks a question as to which one of the three input methods scim, ibus or fcitx I want to use for this session. This has become necessary as I have experienced major breakage with all of them, but fortunately not simultanously. 2. It sets the corresponding environment variables up and exports them to the calling shell (ie, persists them in my login environment, so they are available to all programs). This may not be as elegant as it could be, but it works, and I was in a hurry. Will probably clean it up later. 3. It runs im-config to create any other settings that might be relevant. The latter two parts take the previously selected input method into account, so if I want to use, say, fcitx for this login session, everything gets set up to use fcitx. I run X11 only *after* all of that, and therefore can't undestand that the environment variables might not set up when a program starts. > "im-config -n" should be run before > /etc/X11/Xsession.d/70im-config_launch X start up script if it is used > in the way he uses. It certainly is - but I did not investigate whether I run this script you mention, as I start my X11 session using "startx" (eg., no graphical login on my computer). If I run it, it must be a side-effect of running "startx". Kind regards, --Toni++ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

