[Reporting this after a discussion with Jens over IRC] Description of problem: While investigating bug 505100 it was noticed that if one puts a simple "echo none.conf >> /tmp/foo" into /etc/X11/xinit/xinput.d/none.conf and no Input Method is in use it gets printed 5 times if ~/.xinputrc is a symbolic link to /etc/X11/xinit/xinput.d/none.conf and 10 times if no ~/.xinputrc exist (i.e., the default). Is this intentional? Also, GTK_IM_MODULE=xim setting does not seem to propagate into the user environment in terminals while other settings like QT_IM_MODULE. Nevertheless XIM seems to be in use even without it. Version-Release number of selected component (if applicable): Fedora Rawhide as of 2009-11-03
It's not a bug. it's being read when imsettings-daemon: 1. starts monitoring on /etc/X11/xinit/xinput.d to provide the information certainly if the request is being attempted before receiving any events from the monitor. 2. starts monitoring on /etc/X11/xinit/xinputrc. 3. gets any events from the monitor on /etc/X11/xinit/xinput.d 4. gets any events from the monitor on /etc/X11/xinit/xinputrc 5. reads the system default configuration. (In reply to comment #0) > Also, GTK_IM_MODULE=xim setting does not seem to propagate into the user > environment in terminals while other settings like QT_IM_MODULE. Nevertheless > XIM seems to be in use even without it. It's also not a bug on the certain desktop like GNOME and XFCE. the IM configuration will be sent to the GTK+ applications through XSETTINGS. no need to set up GTK_IM_MODULE for them.