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 debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e61c691.4090...@gmail.com

Reply via email to