Mudança recente faz com que Shift + Space não faça nada

3

Por anos, nos derivados do Ubuntu (agora no derivativo 12.04), eu pude digitar letras maiúsculas e minúsculas segurando a tecla Shift enquanto digita, não tendo que removê-la para quando precisa acertar Espaço .

Durante a última semana, entretanto, Shift + Espaço não faz nada, quebrando minha digitação.

Como posso obter o Shift + Espaço para inserir um Espaço normal como era a funcionalidade por anos?

Estou usando um teclado Bluetooth Apple Wireless Keyboard no layout Dvorak no Elementary Luna. Eu testei no teclado principal do meu laptop e o problema ainda está presente, e notei que esse problema está presente em outras máquinas que executam o Elementary Luna.

Aqui está a saída de xev tentando a combinação de teclas:

Outer window is 0x6600001, inner window is 0x6600002

PropertyNotify event, serial 8, synthetic NO, window 0x6600001,
    atom 0x27 (WM_NAME), time 1502279833, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x6600001,
    atom 0x22 (WM_COMMAND), time 1502279833, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x6600001,
    atom 0x28 (WM_NORMAL_HINTS), time 1502279833, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x6600001,
    parent 0x6600001, window 0x6600002, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 14, synthetic NO, window 0x6600001,
    atom 0x15b (WM_PROTOCOLS), time 1502279834, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x6600001,
    event 0x6600001, window 0x6600002, override NO

ConfigureNotify event, serial 23, synthetic NO, window 0x6600001,
    event 0x6600001, window 0x6600001, (0,0), width 178, height 178,
    border_width 0, above 0x6400003, override NO

PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
    atom 0x1f1 (_NET_WM_ALLOWED_ACTIONS), time 1502279847, state PropertyNewValue

ReparentNotify event, serial 23, synthetic NO, window 0x6600001,
    event 0x6600001, window 0x6600001, parent 0xf4517d,
    (0,0), override NO

PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
    atom 0x163 (_NET_WM_DESKTOP), time 1502279850, state PropertyNewValue

PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
    atom 0x163 (_NET_WM_DESKTOP), time 1502279850, state PropertyNewValue

PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
    atom 0x160 (_NET_FRAME_EXTENTS), time 1502279850, state PropertyNewValue

ConfigureNotify event, serial 23, synthetic NO, window 0x6600001,
    event 0x6600001, window 0x6600001, (10,30), width 178, height 178,
    border_width 0, above 0x0, override NO

PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
    atom 0x18e (WM_STATE), time 1502279850, state PropertyNewValue

PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
    atom 0x169 (_NET_WM_STATE), time 1502279850, state PropertyNewValue

ConfigureNotify event, serial 23, synthetic YES, window 0x6600001,
    event 0x6600001, window 0x6600001, (-1,66), width 178, height 178,
    border_width 2, above 0x0, override NO

MapNotify event, serial 23, synthetic NO, window 0x6600001,
    event 0x6600001, window 0x6600001, override NO

VisibilityNotify event, serial 23, synthetic NO, window 0x6600001,
    state VisibilityUnobscured

Expose event, serial 23, synthetic NO, window 0x6600001,
    (0,0), width 178, height 10, count 3

Expose event, serial 23, synthetic NO, window 0x6600001,
    (0,10), width 10, height 58, count 2

Expose event, serial 23, synthetic NO, window 0x6600001,
    (68,10), width 110, height 58, count 1

Expose event, serial 23, synthetic NO, window 0x6600001,
    (0,68), width 178, height 110, count 0

PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
    atom 0x169 (_NET_WM_STATE), time 1502279855, state PropertyNewValue

FocusIn event, serial 23, synthetic NO, window 0x6600001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 23, synthetic NO, window 0x0,
    keys:  4294967265 0   0   0   16  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   

PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
    atom 0x169 (_NET_WM_STATE), time 1502279855, state PropertyNewValue

PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
    atom 0x196 (XKLAVIER_STATE), time 1502279857, state PropertyNewValue

KeyRelease event, serial 28, synthetic NO, window 0x6600001,
    root 0xed, subw 0x0, time 1502279871, (1355,447), root:(1356,515),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
    XLookupString gives 1 bytes: (0d) ""
    XFilterEvent returns: False

PropertyNotify event, serial 28, synthetic NO, window 0x6600001,
    atom 0x169 (_NET_WM_STATE), time 1502279881, state PropertyNewValue

PropertyNotify event, serial 32, synthetic NO, window 0x6600001,
    atom 0x1ea (_NET_WM_ICON_GEOMETRY), time 1502279914, state PropertyNewValue

KeyPress event, serial 33, synthetic NO, window 0x6600001,
    root 0xed, subw 0x0, time 1502281345, (1355,447), root:(1356,515),
    state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x6600001,
    root 0xed, subw 0x0, time 1502281545, (1355,447), root:(1356,515),
    state 0x1, keycode 65 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x6600001,
    root 0xed, subw 0x0, time 1502281632, (1355,447), root:(1356,515),
    state 0x1, keycode 65 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x6600001,
    root 0xed, subw 0x0, time 1502281770, (1355,447), root:(1356,515),
    state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

FocusOut event, serial 33, synthetic NO, window 0x6600001,
    mode NotifyNormal, detail NotifyNonlinear

PropertyNotify event, serial 33, synthetic NO, window 0x6600001,
    atom 0x169 (_NET_WM_STATE), time 1502285447, state PropertyNewValue

Curiosamente, Caps Lock também aciona o problema. Quando Caps Lock está ativado, Espaço não faz nada.

    
por Naftuli Kay 06.11.2014 / 20:41

2 respostas

1

xmodmap e xev

Você pode usar xmodmap para despejar ou modificar o mapeamento de teclado:

xmodmap -pke | grep space
keycode  65 = space NoSymbol space

Você pode usar xev para assistir aos eventos do teclado

xev

Você pode tentar modificar o mapeamento do seu teclado:

 xmodmap -e 'keycode 65 = space space space space'

Isso pode funcionar, mas avise! Jogar com xmodmap pode colocar você em uma situação ruim! Tente isto imediatamente após o login e prepare-se para forçar o término da sua sessão (e / ou leia o bom manual).

Usar o xmodmap desta maneira não armazena sua configuração entre X-sessions . I.E. você tem que emitir o mesmo comando toda vez que fizer o login.

    
por 25.11.2014 / 00:22
0

Ok, o Elementary tomou as decisões novamente, o que quebrou novamente.

Vá para Configurações do sistema:

Irparaoteclado

Vá para a guia "Atalhos", em "Acesso universal" e altere o modificador "Próximo layout de teclado" para ser algo mais difícil de atingir, como Ctrl + Alt + Shift + Super + Espaço, como um chefe.

A propósito, nada em "Opções" funciona, então Shift + CapsLock, por exemplo, não funciona, mesmo que deva. Sua milhagem pode variar, mas eu matei um poderoso dragão hoje.

    
por 19.03.2015 / 01:06