[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tags not responding to mouse clicks
- To: hlwm devel <hlwm _at_ lists _dot_ herbstluftwm _dot_ org>
- Subject: Re: Tags not responding to mouse clicks
- From: Kinley Dorji <kinleyd _at_ gmail _dot_ com>
- Date: Wed, 14 Jan 2015 12:10:51 +0600
Resending to make sure original thread is linked to this update:
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. :)