Package: xbindkeys
Version: 1.8.6-1
Severity: normal
Dear Maintainer,
I am trying to use xbindkeys to basically map a mouse button to a
keyboard modifier key (Super) so that I can drag windows around without
needing the keyboard. Unfortunately, after a couple of mouse clicks,
xbindkeys fails to execute the mouse release command.
Here is my config:
"xte 'keydown Super_L'"
b:10
"xte 'keyup Super_L'"
b:10 + Release
And here is the verbose output after a typical session:
$ xbindkeys -v -n
displayName = :0.0
rc file = /home/tomas/.xbindkeysrc
rc guile file = /home/tomas/.xbindkeysrc.scm
getting rc guile file /home/tomas/.xbindkeysrc.scm.
WARNING : /home/tomas/.xbindkeysrc.scm not found or reading not allowed.
2 keys in /home/tomas/.xbindkeysrc
min_keycode=8 max_keycode=255 (ie: know keycodes)
"xte 'keydown Super_L'"
m:0x0 + b:10 (mouse)
"xte 'keyup Super_L'"
Release + m:0x0 + b:10 (mouse)
starting loop...
Button press !
e.xbutton.button=10
e.xbutton.state=16
"xte 'keydown Super_L'"
m:0x0 + b:10 (mouse)
got screen 0 for window 2bb
Start program with fork+exec call
Button release !
e.xbutton.button=10
e.xbutton.state=16
"xte 'keyup Super_L'"
Release + m:0x0 + b:10 (mouse)
got screen 0 for window 2bb
Start program with fork+exec call
Button press !
e.xbutton.button=10
e.xbutton.state=16
"xte 'keydown Super_L'"
m:0x0 + b:10 (mouse)
got screen 0 for window 2bb
Start program with fork+exec call
Button release !
e.xbutton.button=10
e.xbutton.state=80
As you can see, the first click successfully executed both the press and
release commands, and the second click successfully executed the press
command, but never executed the release command. The Super_L key is now
permanently pressed down, until I press it on the keyboard. As long as
the Super_L key is pressed down, xbindkeys stops working. After I
resolve the stuck key using the keyboard, xbindkeys resumes working for
another couple of clicks until it fails to execute the command again.
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages xbindkeys depends on:
ii guile-2.0-libs 2.0.11+1-9
ii libc6 2.19-13
ii libgc1c2 1:7.2d-6.4
ii libx11-6 2:1.6.2-3
xbindkeys recommends no packages.
Versions of packages xbindkeys suggests:
ii tk [wish] 8.6.0+8
pn xbindkeys-config <none>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]