2

What I'm trying to do

I'm using a Logitech MX Revolution mouse, which has a button below the scroll wheel mapped to search, which I remapped to middle click. For doing so, I had to remap XF86Search to middle click using xbindkeys, which works fine – when I change the "Search" hotkey to something else, for example Ctrl+XF86Search in the Gnome Settings.

Now I want another mouse button to invoke the Gnome Activity screen (the one with the overview of open windows). Alt+F1 also opens this view (or Ctrl+XF86Search now would do it, and even just pressing the super key).

Invoking the Gnome Activity screen

I try to send Alt+F1 using

/usr/bin/xvkbd -text "\[Alt_l]\[F1]"

but it seems Gnome 3 does not fetch this key (which is not totally unexpected, as xvkbd -text sends it to the focussed window).

What choices do I have do invoke the Gnome Activity screen?

  • When you say Activity screen are you referring to the one that comes up when you press the "super" key? – slm Jun 27 '14 at 22:36
  • Yes, either by pressing super or Alt+F1. – Jens Erat Jun 27 '14 at 22:59
2

I found this AskUbuntu Q&A titled: Bind a mouse button to show the Gnome Shell Activities overview. The OP from that Q&A posted that this solution worked for him/her using xbindkeys:

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

There were other suggestions in that Q&A as well, so if the accepted answer doesn't work, then perhaps one of the others would suit your needs.

  • xte did the job and reliably sends the keys to Gnome. Using xmacroplay I was able to sometimes invoke the screen, but mostly it didn't work. – Jens Erat Jun 27 '14 at 23:29
  • @JensErat - glad that worked out, thanks for the Q! – slm Jun 27 '14 at 23:30
  • Somewhat surprised I didn't find the askubuntu question, I'm pretty sure I ran into another one for a similar problem that didn't work out (using xvkbd). – Jens Erat Jun 27 '14 at 23:31
  • @JensErat - yeah I saw that one too, I kept digging and found this alternative which seemed to work for me and others. – slm Jun 27 '14 at 23:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.