Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i want to setup keymap switching in Xubuntu following way: - Left Winkey for toggling keymaps - "Scroll lock" led for alternative keymap indication

As it goes, it not so easy to setup by means of default Xfce tools.

share|improve this question

Here is soultoion using tiny oldie tool: "xxkb"

$ sudo apt-get install xxkb

$ cat > ~/.Xkbmap

Here paste this code raplacing ru in layout setting with your locale code:

  -layout us,ru
  -variant ,winkeys
  -option grp:lwin_toggle,grp_led:scroll

$ cat > ~/.xxkbrc

XXkb.image.path: /usr/share/xxkb 1 2
XXkb.mainwindow.enable: no
XXkb.mainwindow.type: tray
XXkb.mainwindow.image.1: en15.xpm
XXkb.mainwindow.image.2: ru15.xpm
XXkb.mainwindow.appicon: yes
XXkb.mainwindow.geometry: 15x15+2+2
XXkb.mainwindow.in_tray: false
XXkb.button.enable: no
XXkb.app_list.wm_class_name.start_alt: skype
XXkb.controls.add_when_start: yes
XXkb.controls.add_when_create: yes
XXkb.controls.add_when_change: no
XXkb.controls.focusout: no
XXkb.mainwindow.label.enable: no
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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