Alt Tab with xdotool and xkeybind

Posted by Gary on Ask Ubuntu See other posts from Ask Ubuntu or by Gary
Published on 2012-04-15T03:19:07Z Indexed on 2012/04/15 5:43 UTC
Read the original article Hit count: 328

Filed under:
|

I'm trying to map alt tab behavior to a mouse button using xdotool in my .xbindkeysrc. What I want to do is map something like

"xdotools keydown alt key Tab"
release b:7

but by doing this the alt key gets stuck, and it prevents my other mappings from working until I press the alt key on the keyboard. Is there a way to do this without having to press the alt key to get things unstuck? Without keydown it just switches back and forth between two windows, with keydown it behaves like I want (displaying the alt-tab switcher) but the alt key is stuck. Is there a way to unstick the key after using the alt tab switcher using xdotools?

© Ask Ubuntu or respective owner

Related posts about shortcut-keys

Related posts about mouse