Ubuntu – Bind a mouse button to show the Gnome Shell Activities overview

command linegnomemouse

I'm trying bind a button on my mouse to show the Gnome Shell Activities overview. I'm using xbindkeys to bind actions to my mouse buttons.

I tried using the following xte command to show the Activities overview:

xte 'keydown Alt_L' 'key F1' 'keyup Alt_L'

This works fine when executed in the terminal, but doesn't work with xbindkeys for some reason.

Best Answer

I got it working in the end by adding the release modifier to the xbindkeys config. I have no idea why the press event doesn't work but the release event does.

The final xbindkeys config ended up being:

"xte 'keydown Alt_L' 'key F1' 'keyup Alt_L'"
    release + b:10