[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] How to assign "Middle-Mouse-Button-Click" to a	Key-Binding?
From:       ericbohlman () sbcglobal ! net (Eric Bohlman)
Date:       2010-02-26 22:55:05
Message-ID: 4B885149.7090005 () sbcglobal ! net
[Download RAW message or body]

John wrote:
> i want to have a keyboard-shortcut/keybinding for my
> middle-mouse-button, so that i can easily copy&paste from and to
> terminals and vim without using the mouse.
> 
> As far as i understood i can assign Actions to Keys (like A-F10 for
> ToggleMaximizeWindow) and i can assign Actions to Mousebuttons - but
> can i assign Mousebuttons to Keys?


You could write a binding to invoke xdotool or something similar.

Also, if you're using a desktop keyboard with a numeric pad, the keypad 
"*" will simulate the middle button if you enable MouseKeys (this is on 
any X implementation, not just OB).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic