On Fri, Dec 14, 2012 at 9:11 AM, Gunnar Hjalmarsson <gunna...@ubuntu.com> wrote: > Thanks, Aron, for addressing this issue. > > On 2012-12-02 15:53, Aron Xu wrote: >> I'm not sure whether file in /etc/X11/xinit/xinput.d is considered >> out-dated once im-switch is gone, but currently it's a reliable way to >> detect which input methods have been installed. > > In another discussion I mentioned two examples of why I don't think > that's a reliable method, at least not in an im-config context: > > * uim 'pollutes' /etc/X11/xinit/xinput.d/ with a few files whose names > are not valid input methods. > > * nabi adds a file with just that name, while im-config's idea of the > method name is 'hangul'. >
I see, thanks. > Attached please find a patch that would implement an option to list > installed input methods. Maybe it can be done more elegantly, but the > patch is at least something to start with. > > One thing I'd like to mention is that I excluded 'xim' from the list. If > I understand it correctly, the xim option does not launch any input > method daemon. To be honest I don't really know what it is, so I may > well be totally wrong here. > For xim, let's wait Osamu's opinion... But IMHO there is already some code (almost the same) in im-config, it would be great to maintain only one copy of the very function in im-config, probably by making it a function. Osamu? -- Regards, Aron Xu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org