2013-04-26 8 views
6

ho iniziato ad usare Impressionante WM, e l'ho trovato fastidioso che ignora di ingresso in "Run" widget di (mod+R) quando il layout corrente non è US, diciamo, RU. Inoltre, ignora e qualsiasi input (mouse klicks, tastiera - anche i tasti non specifici del layout come Esc!) Nel suo launcher/menu principale e "lista clienti" e così via. sto usando Arch Linux, e ~/.xinitrc ha seguente riga:Impressionante WM ignora ingresso nella non ci layout

setxkbmap -layout "us, ru" -option "grp:caps_toggle, grp_led:caps" 

Awesome config rc.lua di default non ha né il layout, nè cose specifiche capslock, ma ho cercato di isolare problemi e l'opzione capslock ginocchiera rimosso dal mio xinitrc. Questo non ha aiutato affatto.

xev output mostra che unica cosa che cambia quando passo il layout (con capslock) è 'stato':

- click sinistro del mouse (layout corrente: Stati Uniti, tutto è ok) -

LeaveNotify event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13419931, (151,498), root:(835,518), 
    mode NotifyGrab, detail NotifyAncestor, same_screen YES, 
    focus YES, state 256 

EnterNotify event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13419931, (151,498), root:(835,518), 
    mode NotifyUngrab, detail NotifyAncestor, same_screen YES, 
    focus YES, state 256 

KeymapNotify event, serial 33, synthetic NO, window 0x0, 
    keys: 4294967189 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
      0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 

ButtonPress event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13419931, (151,498), root:(835,518), 
    state 0x0, button 1, same_screen YES 

ButtonRelease event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13420028, (151,498), root:(835,518), 
    state 0x100, button 1, same_screen YES 
blocco maiuscole (nuova veste grafica US - -> RU) -

KeyPress event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13420911, (151,498), root:(835,518), 
    state 0x0, keycode 66 (keysym 0xfe08, ISO_Next_Group), same_screen YES, 
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False 

KeyRelease event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13420998, (151,498), root:(835,518), 
    state 0x2000, keycode 66 (keysym 0xfe08, ISO_Next_Group), same_screen YES, 
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False 

- click sinistro del mouse (ora Impressionante non può vedere i clic del mouse nelle sue widgets/dialoghi/...) -

LeaveNotify event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13422624, (151,498), root:(835,518), 
    mode NotifyGrab, detail NotifyAncestor, same_screen YES, 
    focus YES, state 8448 

EnterNotify event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13422625, (151,498), root:(835,518), 
    mode NotifyUngrab, detail NotifyAncestor, same_screen YES, 
    focus YES, state 8448 

KeymapNotify event, serial 33, synthetic NO, window 0x0, 
    keys: 4294967189 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
      0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 

ButtonPress event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13422624, (151,498), root:(835,518), 
    state 0x0, button 1, same_screen YES 

ButtonRelease event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13422721, (151,498), root:(835,518), 
    state 0x2100, button 1, same_screen YES 

- caps lock (nuova veste grafica RU -> US) -

KeyPress event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13423836, (151,498), root:(835,518), 
    state 0x2000, keycode 66 (keysym 0xfe08, ISO_Next_Group), same_screen YES, 
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False 

KeyRelease event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13423947, (151,498), root:(835,518), 
    state 0x0, keycode 66 (keysym 0xfe08, ISO_Next_Group), same_screen YES, 
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False 

- escape (ad esempio, chiude mainmenu del impressionante) -

KeyPress event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13426419, (151,498), root:(835,518), 
    state 0x0, keycode 9 (keysym 0xff1b, Escape), same_screen YES, 
    XLookupString gives 1 bytes: (1b) "" 
    XmbLookupString gives 1 bytes: (1b) "" 
    XFilterEvent returns: False 

KeyRelease event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13426514, (151,498), root:(835,518), 
    state 0x0, keycode 9 (keysym 0xff1b, Escape), same_screen YES, 
    XLookupString gives 1 bytes: (1b) "" 
    XFilterEvent returns: False 

- - blocco maiuscole (cambiare layout US -> RU) -

KeyPress event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13427017, (151,498), root:(835,518), 
    state 0x0, keycode 66 (keysym 0xfe08, ISO_Next_Group), same_screen YES, 
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False 

KeyRelease event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13427096, (151,498), root:(835,518), 
    state 0x2000, keycode 66 (keysym 0xfe08, ISO_Next_Group), same_screen YES, 
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False 

- escape (ignorato) -

KeyPress event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13427782, (151,498), root:(835,518), 
    state 0x2000, keycode 9 (keysym 0xff1b, Escape), same_screen YES, 
    XLookupString gives 1 bytes: (1b) "" 
    XmbLookupString gives 1 bytes: (1b) "" 
    XFilterEvent returns: False 

KeyRelease event, serial 33, synthetic NO, window 0x1600001, 
    root 0x95, subw 0x0, time 13427877, (151,498), root:(835,518), 
    state 0x2000, keycode 9 (keysym 0xff1b, Escape), same_screen YES, 
    XLookupString gives 1 bytes: (1b) "" 
    XFilterEvent returns: False 

P.S .: Mi chiedo anche dove trovare le abbinamenti chiave per il fantastico (es. "Shift_R") e cosa significano esattamente questi Mod1, Mod2 ecc.

UPD: Si tratta principalmente dello stesso problema descritto in this question, ma l'autore ha detto solo di attivare/disattivare la commutazione a capslock, non di default (Alt-Shift).

risposta

3
+0

E la soluzione più semplice è quella di downgrade xorg-xkbcomp alla versione 1.2.3 – Rast

+5

La soluzione più semplice è in realtà la modifica di/usr/share/X11/xkb/compat/basic e la rimozione o il commento del "gruppo [2-4] = AltGr;" linee (tutte e tre). Scoperto seguendo i link in questa risposta alla segnalazione di bug X11. –

2

che sto duplicare un commento alla risposta accettata qui per una migliore visibilità.

Una soluzione è quella di modificare il file /usr/share/X11/xkb/compat/basic e rimuovere o commentare le righe:

group 2 = AltGr; 
group 3 = AltGr; 
group 4 = AltGr; 

come suggerito here

Problemi correlati