Hi,
On Sat, Feb 11, 2012 at 06:10:53PM +0800, Aron Xu wrote:
> Package: im-config
> Severity: wishlist
>
> I would like to propose, to provide similar function of command line
> operation line im-switch, this will ease the implementation of graphic
> configuration tools that intended to be more integrated to the whole
> desktop environment, for example language-selector.
>
> language-selector calls im-switch directly to set user preference, for
> example:
> im-switch -z ${locale} -s ${input_method}
Well there will be no "-z ${locale}".
> But this is impossible to be easily achieved with current
> implementation of im-config, people need to re-implement many
> functions of im-config in their own program to behave like im-config.
> Actually this is flawing the original design of using im-config.
"im-config -s ${input_method}" seems to be good idea.
I would not call it a flaw in the original design but an oversigt by me :-)
> Is it possible to provide similar command line options? It would be
> best if the options are compatible with im-switch, so users who use
> the command directly can work with it even quickly.
On Sat, Feb 11, 2012 at 06:27:52PM +0800, YunQiang Su wrote:
> As you noticed, the current patch for language-selector is done by
> write the ~/.xinputrc directly.
>
> And I am confusing about the hash in this file.
That was to detect manual modification.
> Maybe the best way is to provide an commond line options.
OK I will now. It is very simple.
Osamu
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]