Bug#694941: Please provide an option to list all available input methods

2014-01-09 Thread Gunnar Hjalmarsson
I created a Bazaar branch: https://code.launchpad.net/~gunnarhj/ubuntu/trusty/im-config/0.23-1 >From that I built locally and installed and tested successfully. I think we should better commit to the Bazaar branch explicitly, since the package has changed from native to quilt. Can't help with th

Bug#694941: Please provide an option to list all available input methods

2014-01-08 Thread Osamu Aoki
Uploaded. Slight change: $ im-config -m default custom ibus -m List active configuration (system), user active configuration (user) and automatic configuration values to STDOUT. If custom means the user made a custom configuration and im-config should

Bug#694941: Please provide an option to list all available input methods

2014-01-08 Thread Osamu Aoki
Hi, On Tue, Jan 07, 2014 at 11:22:00PM +0100, Gunnar Hjalmarsson wrote: ... > >> - xim (but it's labelled 'none' in the GUI) > >> - the installed input method systems > > > > Don't you need to have API to get which IM is active? (-m) > > Would be nice, but not very important. We simply parse ~/.

Bug#694941: Please provide an option to list all available input methods

2014-01-07 Thread Gunnar Hjalmarsson
On 2014-01-07 13:57, Osamu Aoki wrote: > On Sun, Jan 05, 2014 at 02:14:18PM +0100, Gunnar Hjalmarsson wrote: >> So the list presented to the user consists of: >> - default (i.e. auto mode) > > Don't you need to have API to get what is used for auto mode? (- That would certainly be an improvement.

Bug#694941: Please provide an option to list all available input methods

2014-01-07 Thread Osamu Aoki
Hi, I think it is time to think about integrating your patch. On Sun, Jan 05, 2014 at 02:14:18PM +0100, Gunnar Hjalmarsson wrote: > Hi guys and sorry for not getting back sooner... > > On 2013-05-19 01:29, Osamu Aoki wrote: > > Hi, > > > > Now that freeze is over, let's think this change of "-l

Bug#694941: Please provide an option to list all available input methods

2014-01-05 Thread Gunnar Hjalmarsson
Hi guys and sorry for not getting back sooner... On 2013-05-19 01:29, Osamu Aoki wrote: > Hi, > > Now that freeze is over, let's think this change of "-l" option. > > On Mon, Dec 17, 2012 at 08:42:57AM +0100, Gunnar Hjalmarsson wrote: >> I decided to give the code reuse idea a shot, and the resu

Bug#694941: Please provide an option to list all available input methods

2013-05-18 Thread Osamu Aoki
Hi, Now that freeze is over, let's think this change of "-l" option. On Mon, Dec 17, 2012 at 08:42:57AM +0100, Gunnar Hjalmarsson wrote: > I decided to give the code reuse idea a shot, and the result is the > attached patch. It's not much that can be done, really. > > Better than the first patch

Bug#694941: Please provide an option to list all available input methods

2012-12-19 Thread Aron Xu
Hi, On Wed, Dec 19, 2012 at 5:46 AM, Gunnar Hjalmarsson wrote: > On 2012-12-18 16:54, Osamu Aoki wrote: >>> Since you recommend xim for people who wish to disable IM, what would >>> you say if the language-selector UI was changed so that "none" is the >>> shown label, but it actually sets xim? Wo

Bug#694941: Please provide an option to list all available input methods

2012-12-18 Thread Gunnar Hjalmarsson
On 2012-12-18 16:54, Osamu Aoki wrote: >> Since you recommend xim for people who wish to disable IM, what would >> you say if the language-selector UI was changed so that "none" is the >> shown label, but it actually sets xim? Would that make sense to you? > > I do not know the answer ... that was

Bug#694941: Please provide an option to list all available input methods

2012-12-18 Thread Osamu Aoki
On Tue, Dec 18, 2012 at 01:17:23AM +0100, Gunnar Hjalmarsson wrote: > Thanks for the explanations, Osamu. > > On 2012-12-17 13:30, Osamu Aoki wrote: > > Choosing xim means to force using standard xim which is default. So fancy > > characters can be supported with dead keys etc for many european l

Bug#694941: Please provide an option to list all available input methods

2012-12-17 Thread Gunnar Hjalmarsson
Thanks for the explanations, Osamu. On 2012-12-17 13:30, Osamu Aoki wrote: > Choosing xim means to force using standard xim which is default. So fancy > characters can be supported with dead keys etc for many european languages. > > So people who wish to diable im should chose this. > 78_none

Bug#694941: Please provide an option to list all available input methods

2012-12-17 Thread Osamu Aoki
On Mon, Dec 17, 2012 at 03:28:32AM +0800, Aron Xu wrote: > On Fri, Dec 14, 2012 at 9:11 AM, Gunnar Hjalmarsson > 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 o

Bug#694941: Please provide an option to list all available input methods

2012-12-16 Thread Gunnar Hjalmarsson
I decided to give the code reuse idea a shot, and the result is the attached patch. It's not much that can be done, really. Better than the first patch? I'm not sure. -- Gunnar Hjalmarsson https://launchpad.net/~gunnarhj Description: Add an -l option that prints installed IMs to STDOUT Bug: http

Bug#694941: Please provide an option to list all available input methods

2012-12-16 Thread Gunnar Hjalmarsson
That's what I had in the back of my head when talking about "something to start with". Given the current code structure in im-config, I didn't find a simple way to reuse code, but a code reorganisation is well worth considering IMO. Unfortunately, since this is dash code, the possibilities to make

Bug#694941: Please provide an option to list all available input methods

2012-12-16 Thread Aron Xu
On Fri, Dec 14, 2012 at 9:11 AM, Gunnar Hjalmarsson 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 wh

Bug#694941: Please provide an option to list all available input methods

2012-12-13 Thread Gunnar Hjalmarsson
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 ment

Bug#694941: Please provide an option to list all available input methods

2012-12-02 Thread Aron Xu
Package: src:im-config Severity: wishlist 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. I see that im-config has its own code to detect from a list of input