---------- Forwarded message ----------
From:
Kinley Dorji <kinleyd _at_ gmail _dot_ com>Date: Tue, Jan 13, 2015 at 9:59 AM
Subject: Re: Tags not responding to mouse clicks
To: Martín Cigorraga <
martincigorraga _at_ gmail _dot_ com>
Solved! The keyboard was fine. The superkeys weren't responding because someone (probably my younger daughter) had pulled the game lock key. Switching backk solved that problem. But the dzen2 bar continued to be unresponsive to clicks. So after living with using the superkey + tag index to switch between tags till now, I decided to relook at the problem.
I took a closer look at hlwm's autostart and panel.sh scripts. I came across this snippet in panel.sh which looked like something to hack:
if [ ! -z "$dzen2_svn" ] ; then
echo -n "^ca(1,herbstclient focus_monitor $monitor && "'herbstclient use "'${i:1}'") '"${i:1} ^ca()"
else
echo -n " ${i:1} "
fi
Since I'm using dzen2-git, I thought I'd try changing the else section from:
echo -n " ${i:1} "
to:
echo -n "^ca(1,herbstclient focus_monitor $monitor && "'herbstclient use "'${i:1}'") '"${i:1} ^ca()"
And it worked.
I
have no idea why the original panel.sh version worked before my
Logitech keyboard hacks and why it didn't work later as I didn't touch
panel.sh nor do I think the keyboard hacks would have. Still, happy to
be back to status quo. :)