You are not logged in.

#1 2014-06-15 17:13:55

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

[SOLVED] urxvt input with special keys sometimes stop

First post:

Hi,

My urxvt works okay most of the time (input + display), with every key functioning properly. However, sometimes -- I still don't know what to do to reproduce it -- special keys such as ^, ~, ' don't work: after inserting one of them, I get a blank space instead of the key.

This is annoying, for example, a

$ cd ~/folder

prompt would actually be entered as

$ cd  /folder

Any tips on how to discover the cause of this issue?

Here are my X resources:

$ cat $HOME/.Xresources
! font settings
Xft.autohint: true
Xft*antialias: true
Xft*hinting: true
Xft.hintstyle: hintslight
Xft*dpi: 96
Xft.rgba: rgb
Xft.lcdfilter: lcddefault

! xterm
XTerm*metaSendsEscape: true
XTerm*locale: true
XTerm*reverseVideo: on
Xterm*saveLines: 4096
XTerm*scrollKey: true
XTerm*scrollTtyOutput: false

! Emacs
Emacs.font: Terminus-9

! urxvt (rxvt-unicode)
URxvt*scrollTtyOutput: false 
URxvt*scrollWithBuffer: true
URxvt*scrollTtyKeypress: true
URxvt*termName: rxvt-unicode
URxvt*background: #000000
URxvt*foreground: #ffffff
URxvt.scrollBar: false
URxvt*font: xft:Terminus:size=9:antialias=true
URxvt.iso14755: false
URxvt.iso14755_52: false

! urxvt extensions
URxvt.perl-ext-common: default,clipboard,matcher,selection-to-clipboard,tabbedex
URxvt.keysym.Control-Shift-C: perl:clipboard:copy
URxvt.keysym.Control-Shift-V: perl:clipboard:paste
URxvt.tabbed.autohide: true
URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1

! http://felixc.at/URxvt - felixonmars style
! alt: xcolors.net
urxvt.color1:   #cc0000
urxvt.color2:   #4e9a06
urxvt.color3:   #c4a000
urxvt.color4:   #3465a4
urxvt.color5:   #75507b
urxvt.color6:   #06989a
urxvt.color7:   #d3d7cf
urxvt.color8:   #555753
urxvt.color9:   #ef2929
urxvt.color10:  #8ae234
urxvt.color11:  #fce94f
urxvt.color12:  #729fcf
urxvt.color13:  #ad7fa8
urxvt.color14:  #34e2e2
urxvt.color15:  #eeeeec

This issue looks slightly like that other one, with the exception that I do not use the japanese input method, and it is not every key that stops working; but only some of them like the accentuation ones.
Also, I'm not using urxvtd.

Edit: Using i3 as window manager.

Second post:

As an update, I've been noticing a few core files in my home folder:

thiago@arch ~ $ ls core*
core.23562  core.24631  core.28746  core.32156  core.4892  core.7824
thiago@arch ~ $ file core*
core.23562: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/urxvt'
core.24631: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/urxvt'
core.28746: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/urxvt'
core.32156: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/urxvt'
core.4892:  ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/urxvt'
core.7824:  ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from 'emacs --daemon'

I am not sure if these are related with the problem I described, since I didn't see urxvt crash in front of me.

More information:

rxvt-unicode 9.20-2
urxvt-perls 2.1-1
urxvt-tabbedex 0.4-4

Third Post:

As (another) update, I discovered the core files I talked about are actually related to systemd. After following the wiki, they never appeared anymore. However, I'm still not sure if they were related with the subject of this topic (it looks like probably not).

Since the cause of those issues are still unknown, I'm done with this topic, I'll probably create another one or post a solution in the Wiki page if I ever find something.

Last edited by thiagowfx (2015-01-27 00:25:49)

Offline

#2 2015-01-27 00:25:35

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: [SOLVED] urxvt input with special keys sometimes stop

Whoa, sorry for four posts in a row -- I'm merging the previous ones so one mod/admin can delete the (indicated) extra ones.

But I finally understood what the problem was. It was indeed difficult to spot.

I think that it's a know bug with urxvt. It happens when the mouse isn't inside the window.

Found it here: https://bbs.archlinux.org/viewtopic.php?id=123409

Put the mouse inside the urxvt window and all accent keys suddenly work always, 100% of the time. Why this problem happened just a few times with me? Because I use a tiling window manager (i3), so the odds of the mouse getting outside the urxvt window were relatively low. But it happened sometimes, and it was really annoying. But hey...marking it as solved now, after several months.

Offline

Board footer

Powered by FluxBB