How to change keyboard layout change shortcut in Xubuntu?

6,712

This is a method that works on any X11 system, not just Xubuntu. In the terminal emulator run something like this:

setxkbmap -layout us,ru -variant ',winkeys' -option 'grp:alt_shift_toggle,grp_led:scroll'

And your layouts will switch immediately. This example will make a keyboard two-layout (US international and Russian Windows-like), switched by Alt-Shift, ScrollLock light will indicate the active layout.

But this is a temporary setting, it will not be preserved for the future sessions. I don't know what configuration mechanism is suggested in Xubuntu.

Share:
6,712

Related videos on Youtube

Alex
Author by

Alex

Updated on September 17, 2022

Comments

  • Alex
    Alex almost 2 years

    In normal Ubuntu it is seamlessly done through System → Preferences → Keyboard → Options dialog. Xubuntu's Xfce desktop lacks this dialog. Surprisingly my /etc/X11/xorg.conf file is empty. I don't know what to do. Any ideas?

  • Jacques Ramsden
    Jacques Ramsden over 12 years
    This is the best solution ever - worked like a charm on my Xubuntu.