Bug 174460

Summary: Using setxkbmap (or enabling keyboard layouts) screws up keyboard input completely
Product: [I don't know] kde Reporter: Manuel Nickschas <sputnick>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Manuel Nickschas 2008-11-06 18:36:17 UTC
Version:            (using Devel)
Compiler:          gcc-4.3.2 
OS:                Linux
Installed from:    Compiled sources

With a recent KDE trunk checkout, enabling/switching keyboard layouts completely screws up keyboard input. The cursor keys stop working at all, and right alt (AltGr on German keyboards) suddenly acts as an enter key. More is probably screwed. This happens across all KDE and non-KDE applications, even in an xterm.

This can be triggered by issuing the following:

setxkbmap -model pc105 -layout us

It also can be triggered by enabling keyboard layouts in systemsettings. Happens to me on several machines, running xorg 1.4 and 1.5.

I have a German keyboard on a Thinkpad T60p and on a W500, but I prefer having US-intl layouts on them. As long as I don't touch the layout while logged into KDE, this layout works fine (I set it in xorg.conf). It only stops working after doing the above.
Comment 1 Manuel Nickschas 2009-03-01 23:56:46 UTC
Fixed for me quite a while ago, forgot to close this bug.