Re: [i3] i3 4.1: urxvt loses focus after "gitk" ceases on Debian squeeze

  • From: zeroxia <zeroxia@xxxxxxxxx>
  • To: "Discussions/Questions about the i3 window manager" <i3-discuss@xxxxxxxxxxxxx>
  • Date: Fri, 13 Apr 2012 11:29:34 +0800

Hi,

I updated "gitk" from 1.7.2.5 to 1.7.9 from the "backport repository"
for Debian stable release. And after a search I see the latest
"tcl/tk" version is 8.6, but that is in the "experimental" release,
and my stable repository only has tk8.4 and tk8.5 ("gitk" package
depends on "tk8.4", so "tk8.4" is automatically installed, and won't
accept "tk8.5"), so I installed tk8.5, and updated "wish" to point to
"/usr/bin/wish8.5". But the problem persists.

This seems to be the tcl/tk problem. As I run "wish" in the urxvt
terminal, I can get a blank GUI window, and after closing the window,
URXVT got no focus, exactly the symptom occurred when I use gitk.

The actual "tk8.5" version is 8.5.8, which is a little older than that
of testing or sid release 8.5.11, so I also build the 8.5.11 sources
and upgrade tcl8.5 & tk8.5, but still no avail.

By the way, I found that there is a "wish8.3" at /usr/local/bin, which
probably was installed by source navigator, running this to get a
blank GUI window and then close it will not cause URXVT freezed. But
the "gitk" script cannot run with this executable...

Is there any other way I can try out?

Regards,
Xia.

On Thu, Apr 12, 2012 at 11:35 PM, Michael Stapelberg <michael@xxxxxxxx> wrote:

Hi,

Excerpts from zeroxia's message of 2012-04-12 13:31:29 +0200:
Everything works except that gitk and urxvt do not cooperate well.
When I'm in the urxvt shell, and fire up gitk, then I close gitk (by
pressing Ctrl-W), the starting shell window has no focus and won't
It has focus here and works just fine. I’m using rxvt-unicode-256color 9.15-1
and gitk 1:1.7.9-1.

I also built the latest urxvt from Debian sid source
(rxvt-unicode_9.15-1_i386.deb), the gitk version is 1.7.2.5-3 (shown
from dpkg -l gitk).
Maybe you could try upgrading your gitk and/or tcl/tk?

Best regards,
Michael

Other related posts: