You can use the Guile scheme configuration. Use the define-chord-keys function
as defined in the default config.
$ xbindkeys --defaults-guile> ~/.xbindkeysrc.scm
Then in the .xbindkeysrc.scm file, define something like, for example, number
'1' key and right-mouse click:
; Using arbitary keypress with mouse button combination.
; This opens firefox or xterm, depending on what key/button is released first
(define-chord-keys '("c:10") '("b:3")
"" "" "firefox" "xterm")
The downside is that it overrides the normal function of the key/button.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]