Red Hat Bugzilla – Bug 471833
use lowercase input-method names
Last modified: 2009-03-10 06:49:42 EDT
Description of problem:
It would be nice if imsettings used a NAME variable in xinput files to carry a lowercase name of input-methods.
Steps to Reproduce:
2. imsettings-start SCIM
1. list SHORT_DESC name which is often mixed or uppercase.
1. list input-method names in lowercase.
2. able to start scim with "imsettings-start scim", etc
I'd rather prefer just dealing with it as case-insensitive string, because that way could be easily set to the unrelated name and it would makes confused.
I would rather take NAME as the default and use SHORT_DESC to override it in im-chooser: then imsettings-list will show lowercase names and it will be more consistent IMHO.
(Maybe an alternative to NAME would be just using the filename with .conf?)
Okay. will change the behavior to fall back to the conf filename with/without .conf if no such names in the list of SHORT_DESC then.
So what will imsettings-list show in that case?
no plans to change it. guess better improving a help message in imsettings-start instead. actually current description of parameter doesn't clarify it would links to what imsettings-list shows.
So you are going the case-insensitive way or just wontfix?
I meant no plans to change imsettings-list but only update an interface for imsettings-start/stop/restart to a case-insensitive name or a filename with/without .conf.
From some discussion with you on IRC, I'm going to change imsettings-list like:
* 1: /etc/X11/xinit/xinput.d/scim.conf (recommended)
* 1: scim.conf (recommended)
or whatever. and allow a filename with/without .conf suffix for imsettings-start/stop/restart then.
tried the above idea and facing an issue for XIM. imsettings doesn't manage xinput conf for XIM directly but accessing through xim.conf to get the right thing for current locale. the above idea makes harder to see which legacy XIM server will be used really. that may makes sense at some point that one is surely enabling XIM though. displaying SHORT_DESC too may be good perhaps.
Fixed in imsettings-0.106.0-1.fc11.