← Back to team overview

touch-packages team mailing list archive

[Bug 1441127] [NEW] Cowardly resets the keyboard layout to US in background

 

You have been subscribed to a public bug:


Description:    Ubuntu 14.04.2 LTS
Release:        14.04

im-config (0.24-1ubuntu4.1)
language-selector-selector-gnome (0.129.3)

Scenario:
I have an XUbuntu LTS 12 installation, upgraded to the latest 14.xx LTS. I don't longer use xfce but icewm.

Repro steps and what happened so far:

lightdm starts. I choose icewm-session from session selector and login.
My keyboard layout is suddenly US. I open a terminal and run "setxkbmap
de nodeadkeys" and it works and is effective, so the xkb support must be
OK.

Checking Xorg.0.log and getting confused. The reported kbd configuration there is just fine.
Dumped xorg.conf with X -configure, adapted the layout, restarted lightdm (and X), problem persists. Removed custom xorg.conf again, restarted X, still the same game. 

I stop lightdm. Run startx /usr/bin/icewm-session from the console. And
the keyboard config is the normal one! (consistent with Xorg.0.log)

So I decide to work around that problem for now, I edit .icewm/startup
and add the setkxbmap command there (the script is fine, it runs other
stuff already). I re-login from lightdm and I still get the same
behavior and above.

Getting confused... I start to type a bug report against xorg... before
sending that, I decide to add "sleep 1" to the mentioned startup script
before the setxkbmap call. Et voila, problem is gone. How? No idea yet.

I decide to test make cross-checks, and use xfce-session and the problem
does not appear. However, xfce session has really slow startup (I
remember why I stopped using this thing) and I also brings its own
keyboard configuration stuff so this will simply cover up the problem. I
make another test with wmaker and the problem is reproducible there just
like with icewm.

I start to suspect some crazy package that installed some Xsession.d
extension so I check Xsession.d directory and I remove the packages that
I don't need, one by one. The solution to my problem was the removal of
im-config:

$ sudo apt-get --purge remove im-config
...
Entfernen von language-selector-gnome (0.129.3) ...
Entfernen von im-config (0.24-1ubuntu4.1) ...


So, whatever evil stuff you are doing there, it seems to break the keyboard layout on certain systems, silently and in background.

** Affects: ibus (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Cowardly resets the keyboard layout to US in background
https://bugs.launchpad.net/bugs/1441127
You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ibus in Ubuntu.