On Xubuntu 18.04 I'm using hotkey right Ctrl for switching keyboard layout. And now I can't use any combinations with Ctrl+ in applications.

And for example if I use Alt for switching layout, combinations Alt+F4, Alt+Tab also doesn't work.

How to fix this?

Update. Solutions for Ubuntu Gnome and Ubuntu Mate don't work here. I can't add second hotkey for switching layout in Xubuntu/xfce.

  • Did it work in previous versions?
    – RonJohn
    Sep 16, 2018 at 17:11
  • It's my first Xubuntu. Before used 16.04 Unity. Everything was fine.
    – tehkonst
    Sep 16, 2018 at 17:28

1 Answer 1


As a solution I installed xcape - https://github.com/alols/xcape

Follow instruction from README.md how to install it on your system.

Then run

xcape -e 'Control_R=Alt_L|Shift_L'

and add the command to the autorun.

Pay attention that your command may be different if you don't use Alt+Shift as default shortcut for switching keyboard layout.


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.