3

I have the default key combination of Super + Alt + Space to activate the indicator-synapse. How can I change it to Super + Space?

2
  • I'm not sure it can be done. Also, super+space would be problematic given it's the shortcut for slingshot. Oct 19, 2015 at 0:13
  • In-fact I have changed the keyboard shortcut for slingshot to Super+D from keyboard settings under system settings. But I find no way to configure it for indicator-synapse
    – Abhishek
    Oct 20, 2015 at 6:29

1 Answer 1

1

You can achieve this using xdotool. xdotool lets you simulate keyboard input and mouse activity, move and resize windows, etc.

Step 1: Install xdotool.

sudo apt-get install xdotool

Step 2: Move your mouse over the synapse icon and get mouse location

xdotool getmouselocation

You should get output like this

x:1117 y:24 screen:0 window:39845936

Step 3: Add keyboard shortcut for indicator

Go to System Settings -> Keyboard -> Shortcuts -> Custom Shortcuts.

Click the + and enter the below command:

xdotool mousemove x y click 1 mousemove restore

Replace x and y with the values you got. Set the shortcut as Super+Space Logout and Login again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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