Hi Yong,

I see. So, to disable iiim service harmlessly, it seems the best
way is to export GTK_IM_MODULE=gtk-im-context-simple in $HOME/.profile
at this point. Let's discuss further offline.

Thanks,
Fuyuki

Yong Sun wrote:
> Another problem I just thought of, is that if we does not export 
> GTK_IM_MODULE=iiim in gdm/Xsession stage, im-xim.so will be used, so 
> that xiiimp.so would be loaded as the XIM implementation library. The 
> annoying attached language selection window would appear. Even I set the 
> status placement to None, an empty window is still attached with the 
> frame window when application starts. There should be a bug in xiiimp.so.
> 
> And we may not execute iiimx-settings-init to export necessary settings 
> in gdm/Xsession stage, since it will bring two gconfd daemons. :(
> 
> Regards,
> 
> Yong Sun wrote:
>> Hi, Fuyuki,
>>
>> I think our startup script has a problem, if disable the iiim via 
>> gnome-session-properties(1), that is GTK_IM_MODULE=iiim is still 
>> exported by /etc/iiim/xsession (launched by gdm/Xsession), so that the 
>> gnome applications still use im-iiim.so as the gtk-im-module. And in 
>> some scenarios, e.g., keep pressing backspace, or typing very fast, 
>> application responses very slowly.
>>
>> We need to change the script, only exporting GTK_IM_MODULE=iiim when 
>> actually launching iiim daemons.
>>
>> Regards,
>>
>> Fuyuki Hasegawa - Sun Microsystems wrote:
>>> You can also disable iiim service completely via gnome session 
>>> preference
>>> (System -> Preferences -> Session) from RC1b (snv_101a).
>>>
>>> Please note that if you disable iiim service, you can not input Latin
>>> characters using Compose key (ge, Compose+a+e -> æ, Compose+'+a -> á).
>>> If you need to input Latin chars, you should not disable iiim service.
>>> Then, as Haik says, you can remove iiim-panel via iiim-properties by
>>> choosing "None" at "Input Method status and switcher placement" and
>>> also you can invalidate IM trigger key by emptying the trigger list.
>>> BTW, this is the default configuration for English locales from RC2.
>>>
>>> Thanks,
>>> Fuyuki
>>>
>>> Yong Sun wrote:
>>>> Hi, Mark,
>>>>
>>>> Thanks for the finding, we will look at the massive sys-calls problem.
>>>>
>>>> By default, input method services (either iiim or scim) would be 
>>>> started on any UTF-8 locale, and the disabling function 
>>>> iiim-properties(1) would still start iiim services, but only disable 
>>>> the  client communications. To completely disable the IM services, 
>>>> you could hack the /etc/iiim/xsession script to not start iiim 
>>>> daemons on en_*.UTF-8 locales, or a lighter way is to add following 
>>>> lines to your $HOME/.profile,
>>>>
>>>> $ cat ~/.profile
>>>> GTK_IM_MODULE=gtk-im-context-simple
>>>> export GTK_IM_MODULE
>>>>
>>>> Regards,
>>>>
>>>> Haik Aftandilian wrote:
>>>>>> How do I turn this off ?
>>>>>>     
>>>>> System -> Preferences -> Input Methods
>>>>>
>>>>> Uncheck "Enable Input Method" and change the "Input Method status 
>>>>> and switcher placement" pull down menu to "None".
>>>>>
>>>>> Haik
>>>>>   
>>>>
>>>> _______________________________________________
>>>> indiana-discuss mailing list
>>>> [email protected]
>>>> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>>>
>>>
>>
> 
> 


_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to