On 2015-03-13 11:47, Aron Xu wrote: > On Fri, Mar 13, 2015 at 6:27 PM, Gunnar Hjalmarsson > <1430...@bugs.launchpad.net> 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: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/language-selector/vivid/view/head:/LanguageSelector/ImConfig.py -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to language-selector in Ubuntu. https://bugs.launchpad.net/bugs/1430893 Title: [FFe] Install Fcitx for Chinese users Status in im-config package in Ubuntu: Confirmed Status in language-selector package in Ubuntu: Confirmed Status in ubuntu-meta package in Ubuntu: Confirmed Bug description: There are currently two main supported input method frameworks available for CJK users: IBus (current default) and Fcitx. Both are mature projects, but Fcitx is better suited to Chinese users than IBus is, and is already the default in Ubuntu Kylin. IBus is increasingly moving in the direction of removing features upstream like tracking input state on a per-context basis. Also, the leading input method provider in China with more than 300 million users, Sogou, only supports Fcitx under Linux. Skinning support is non-existent in IBus. We've added support for Fcitx on the same level as IBus in Unity, so this FFe is a proposal to make Fcitx the default for Chinese locales this cycle, as a transition towards making Fcitx the default for all users next cycle. The changes should simply be seeding Fcitx and its related packages on the CD image, as well as possible changes to im- config. Those who have explicitly selected IBus as their chosen input method should be unaffected; these changes will only affect new users, and users who have never explicitly chosen an input method framework in their language settings. Also, this FFe propose to make language-selector to install more input method packages for Chinese users to their Fcitx equivalents (currently IBus) when adding/completing Chinese language support. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/1430893/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp