Read more

Ubuntu: Make Ctrl-Space work in RubyMine, Emacs, or other tools

Arne Hartherz
May 06, 2015Software engineer at makandra GmbH

I was annoyed that RubyMine's autocompletion did not work via Ctrl+Space for me. In fact, it did not work in any application.

Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

Turns out that keyboard combination was hijacked by Ubuntu as it's the default for switching input languages (i.e. keyboard layouts). If you use only 1 language/layout, you will not notice except for the key not working.

To fix it, do the following:

  1. Run ibus-setup (e.g. from a terminal). This will open a GUI dialog.
  2. In the 1st tab you should see "Next Input Method" followed by "<Control>space".
  3. Click the "..." button on the right of it, and change it. I changed mine to "<Control><Shift><Super>space".
  4. Click the "Apply" button, and then the "OK" button.
  5. You may now close the iBus settings application.

Ctrl+Space should now work for you.

Posted by Arne Hartherz to makandra dev (2015-05-06 15:08)