You are not logged in.

#1 2017-10-13 12:57:23

aurelieng
Member
Registered: 2010-02-02
Posts: 104

Dead keys in i3 / urxvt stop working from time to time

I am a happy Arch/i3wm/urxvt user who could be happier : I use dead keys (US Intl layout) to be able to type diacritics, like "à" or "é" or even " or ' (for them, I must type "+space, '+space instead of dead key+<char>).

From to time (say, every few tens of minutes), urxvt stops displaying those characters, as if the dead keys were really dead : dead key+<char> shows nothing, that's a bit annoying, not only to type characters but also to use vim registers, etc.

I found by chance a (very dirty) workaround : I start xev from urxvt and move the mouse a bit or type a few keys within its window. I then kill it, and when I'm back in urxvt, dead keys are working again (somewhat resurrected?). Kinda strange.

Any idea how to prevent dead keys from dying?

Edit: Edit 2: `localectl status` gives :

    System Locale: LANG=en_US.UTF-8
    VC Keymap: us-acentos
    X11 Layout: us
    X11 Variant: intl

Last edited by aurelieng (2017-10-13 13:14:15)

Offline

#2 2017-10-13 14:07:14

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: Dead keys in i3 / urxvt stop working from time to time

Sounds like an input focus matter - do you by any chance use some advanced input method?
https://wiki.archlinux.org/index.php/In … nalization

Offline

#3 2017-10-13 14:22:06

aurelieng
Member
Registered: 2010-02-02
Posts: 104

Re: Dead keys in i3 / urxvt stop working from time to time

Unfortunately, no, I'm not.

Offline

#4 2017-10-13 17:35:16

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: Dead keys in i3 / urxvt stop working from time to time

Is the behavior exclusive to urxvt (or does it also affect, say, xterm)?
Is xev crucial or does focus juggling / window adding/removing / calling a window out of urxvt worl around this in general?
Is the shell (bash/zsh/...) relevant? (bit off, but hey - it's a strange behavior to begin with ;-)

Offline

#5 2017-10-13 18:33:25

aurelieng
Member
Registered: 2010-02-02
Posts: 104

Re: Dead keys in i3 / urxvt stop working from time to time

Thanks for your reply.

I've not seen this behavior with other programs. I'm going to give xterm a try. I won't switch in the long run as It is rather primitive, but that's a really good idea to check whether it is affected or not.

WRT the workaround, it seems *NOT* to require `xev` : I *have* been able to reproduce it by switching and playing with, say, Firefox or Thunderbird.

FWIW, I am using bash. smile

Edit: workaround does not require `xev`. Typing in Firefox helps too (not tested others).

Last edited by aurelieng (2017-10-14 08:46:13)

Offline

Board footer

Powered by FluxBB