On 2015-03-13 11:47, Aron Xu wrote:
> On Fri, Mar 13, 2015 at 6:27 PM, Gunnar Hjalmarsson
> <email address hidden> wrote:
>> It's worth mentioning that the first time a user opens Language
>> Support, it sets the IM framework explicitly by creating
>> ~/.xinputrc based on auto at the time, even if the user does not
>> touch the IM setting.
>
> I suppose ~/.xinputrc should not be created if the user does not
> touch IM settings.
Well, it is intentional.
Up to know the default (auto) has been determined by which IM framework(s) are installed. Take a multiuser system with only IBus installed. The purpose of the automatic creation of ~/.xinputrc is to prevent a surprise change for all users if a sysadmin installs e.g. fcitx. I assume it's preferable that the IM framework is only changed if the user requests so by changing the setting.
I think this reasoning is even more important now when auto may be determined by the locale. We don't want the IM framework be changed just because a user changes the display language, do we?
On 2015-03-13 11:47, Aron Xu wrote:
> On Fri, Mar 13, 2015 at 6:27 PM, Gunnar Hjalmarsson
> <email address hidden> wrote:
>> It's worth mentioning that the first time a user opens Language
>> Support, it sets the IM framework explicitly by creating
>> ~/.xinputrc based on auto at the time, even if the user does not
>> touch the IM setting.
>
> I suppose ~/.xinputrc should not be created if the user does not
> touch IM settings.
Well, it is intentional.
Up to know the default (auto) has been determined by which IM framework(s) are installed. Take a multiuser system with only IBus installed. The purpose of the automatic creation of ~/.xinputrc is to prevent a surprise change for all users if a sysadmin installs e.g. fcitx. I assume it's preferable that the IM framework is only changed if the user requests so by changing the setting.
I think this reasoning is even more important now when auto may be determined by the locale. We don't want the IM framework be changed just because a user changes the display language, do we?
This is the language-selector code: bazaar. launchpad. net/~ubuntu- branches/ ubuntu/ vivid/language- selector/ vivid/view/ head:/LanguageS elector/ ImConfig. py
http://