You are not logged in.

#1 2013-03-08 23:48:41

colbert
Member
Registered: 2007-12-16
Posts: 809

Help with binding key to zooming in Chrome

I just bought a new keyboard that has this little volume knob on the corner, but I have a volume control pad for my speakers so I don't need it. I used xev to discover that left/right dialing of the knob is indeed XF86AudioLowerVolume and XF86AudioRaiseVolume.

I am wondering how I can get this to zoom in/out of Chrome. So I need it bound to "Control minus" and "Control plus." However I can't determine how to do this in the ~/.fluxbox/keys file. (I have many binds set there, but don't know how to bind a key to keys, just commands.)

I thought maybe to have a little script that each key is bound to and the script operates the zoom commands but dunno how to do that, appreciate any help smile

Last edited by colbert (2013-03-08 23:49:14)

Offline

#2 2013-03-08 23:56:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,553
Website

Re: Help with binding key to zooming in Chrome

check out xdotool, it is for just this sort of task.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB