Comment 32 for bug 625793

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote : Re: Keyboard layout automatically changes

As I've reported in bug #636619

It happens for me too. It's still there, I've just checked. It's triggered by switching layout. After that, it goes crazy and layouts are switched cycling between my previously configured ones rapidly. Scroll lock led flashes as well (it's configured to show the non-primary layout). I can't even type since pressing the same key generates random character based on the fact which layout was active at the moment when I pressed the key. xev reports things like this without stopping (even without toucing the keyboard or the mouse after I managed to launch xev in a terminal window):

PropertyNotify event, serial 30, synthetic NO, window 0x6000001,
    atom 0x174 (XKLAVIER_STATE), time 11886504, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x6000001,
    atom 0x174 (XKLAVIER_STATE), time 11886505, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x6000001,
    atom 0x174 (XKLAVIER_STATE), time 11886562, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x6000001,
    atom 0x174 (XKLAVIER_STATE), time 11886634, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x6000001,
    atom 0x174 (XKLAVIER_STATE), time 11886635, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x6000001,
    atom 0x174 (XKLAVIER_STATE), time 11886694, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x6000001,
    atom 0x174 (XKLAVIER_STATE), time 11886695, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x6000001,
    atom 0x174 (XKLAVIER_STATE), time 11886756, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x6000001,
    atom 0x174 (XKLAVIER_STATE), time 11886811, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x6000001,
    atom 0x174 (XKLAVIER_STATE), time 11886812, state PropertyNewValue

My system was upgraded from the previous version of Ubuntu (lucid lynx) I am wondering if it can cause the problem and it works with a 'clean' install (ie: new home directory with gnome/etc settings created by the current development version of ubuntu). I have four layouts configured, one of them (USA) is the primary, the others are configured to be signaled by the scoll lock led, and I switch layouts by key "scroll lock".