[Bug 1839984] [NEW] Don't create ~/.xinputrc unless user changes the IM framework setting explicitly
Gunnar Hjalmarsson
1839984 at bugs.launchpad.net
Tue Aug 13 10:24:43 UTC 2019
Public bug reported:
The Language Support GUI includes a control for setting the im-config
user configuration. The selected value is saved in the im-config file
~/.xinputrc.
When there is no file, language-selector-gnome has up to now used the
system wide default and automatically - behind the scenes - saved that
value as an explicit user setting by creating ~/.xinputrc. The rational
for doing so has been that it's not desirable that the installation of
an additional IM framework or changed display language automatically may
change the selected IM framework for all users on the system.
However, there are other use cases where this automatic file creation
isn't optimal. One example is a system which is installed without any IM
framework, which makes the system default to be "none" (meaning that im-
config does not do anything). If a user later decides to start using
some input method which requires an IM framework, im-config would
automatically start to launch and configure that framework if it wasn't
for that ~/.xinputrc file. Due to the file, the user also needs to open
Language Support and change the IM framework setting.
So there are pros and cons, but I think that a smooth behavior in the
latter case carries greater weight. Hence language-selector-gnome should
stop creating ~/.xinputrc automatically.
** Affects: language-selector (Ubuntu)
Importance: Medium
Assignee: Gunnar Hjalmarsson (gunnarhj)
Status: In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/1839984
Title:
Don't create ~/.xinputrc unless user changes the IM framework setting
explicitly
Status in language-selector package in Ubuntu:
In Progress
Bug description:
The Language Support GUI includes a control for setting the im-config
user configuration. The selected value is saved in the im-config file
~/.xinputrc.
When there is no file, language-selector-gnome has up to now used the
system wide default and automatically - behind the scenes - saved that
value as an explicit user setting by creating ~/.xinputrc. The
rational for doing so has been that it's not desirable that the
installation of an additional IM framework or changed display language
automatically may change the selected IM framework for all users on
the system.
However, there are other use cases where this automatic file creation
isn't optimal. One example is a system which is installed without any
IM framework, which makes the system default to be "none" (meaning
that im-config does not do anything). If a user later decides to start
using some input method which requires an IM framework, im-config
would automatically start to launch and configure that framework if it
wasn't for that ~/.xinputrc file. Due to the file, the user also needs
to open Language Support and change the IM framework setting.
So there are pros and cons, but I think that a smooth behavior in the
latter case carries greater weight. Hence language-selector-gnome
should stop creating ~/.xinputrc automatically.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1839984/+subscriptions
More information about the foundations-bugs
mailing list