You are not logged in.

#1 2013-02-28 02:30:42

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

[Solved] Key input stops working in urxvt in Openbox

For you who use the Openbox window manager and the urxvt terminal emulator, does your keyboard sometimes just kinda stop working in urxvt?

For example, in urxvt, type "openbox --reconfigure". Your keyboard stopped working, didn't it? "Alt-Tab" to another window and then back again. Typing in the urxvt windows works again!

Another example, load a urxvt window. Now go to a TTY (Ctrl-Alt-F2). Now go back to X. The same problem! No more keyboard input in urxvt!

This is a really minor bug. But seeing how Openbox is the most popular floating window manager and urxvt is the most popular terminal emulator for Arch Linux users, I can't believe that I'm the only one that noticed this...

Is there a way to fix this, so urxvt doesn't lose keyboard input?

Last edited by drcouzelis (2013-03-01 06:07:59)

Offline

#2 2013-02-28 05:02:09

robulon
Member
Registered: 2012-05-01
Posts: 3

Re: [Solved] Key input stops working in urxvt in Openbox

I am running openbox and urxvt and neither of those examples affected my keyboard input.  Perhaps it's a problem with the keyboard configuration or the .Xresources that urxvt uses?

Edit: Which rxvt-unicode package are you using? I've got rxvt-unicode-patched installed along with urxvt-vtwheel both from the AUR.

Last edited by robulon (2013-02-28 05:04:59)

Offline

#3 2013-02-28 06:17:10

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [Solved] Key input stops working in urxvt in Openbox

Thanks for trying it out.

Here is my .Xdefaults file:

URxvt*iconFile: /usr/share/icons/Faience/apps/96/terminal.png
URxvt*scrollBar: false
URxvt*termName: screen-256color
URxvt*saveLines: 10000
URxvt*cursorBlink: true
URxvt*pointerBlank: true
URxvt*pointerBlankDelay: 987654321
URxvt*font: xft:Terminus:size=12
URxvt*perl-ext-common: default,fullscreen
URxvt*keysym.F11: perl:fullscreen:switch

URxvt*background: #0f0f0f
URxvt*foreground: #c8c8c8
URxvt*color0: #251f1f
URxvt*color1: #eb4509
URxvt*color2: #94e76b
URxvt*color3: #ffac18
URxvt*color4: #46aede
URxvt*color5: #e32c57
URxvt*color6: #d6dbac
URxvt*color7: #efefef
URxvt*color8: #5e5e5e
URxvt*color9: #eb4509
URxvt*color10: #95e76b
URxvt*color11: #ffac18
URxvt*color12: #46aede
URxvt*color13: #e32c57
URxvt*color14: #d6dbac
URxvt*color15: #efefef

I'm currently using the "rxvt-unicode-patched-left_ptr-unicode3" package, but I experienced the same problem with the official "rxvt-unicode" package.

As I expected, it sounds like the problem is just me... Maybe I can try creating a new user and slowly adding in my personal config files until urxvt breaks. tongue

Offline

#4 2013-02-28 06:22:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Key input stops working in urxvt in Openbox


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-03-01 06:09:56

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [Solved] Key input stops working in urxvt in Openbox

I found the problem.

These lines of code in my ".xinit" file that allow me to enter Japanese text were the problem:

# Setup SCIM for Japanese input
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
scim -f x11 -c simple -d

I'll comment them out for now. Lately I reconfigure Openbox much more often than I type Japanese. tongue

Anyway, thank you!

Offline

Board footer

Powered by FluxBB