Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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
XXkb.group.base: 1
XXkb.group.alt: 2
XXkb.mainwindow.enable: no
XXkb.mainwindow.type: tray
XXkb.mainwindow.image.1: en15.xpm
XXkb.mainwindow.image.2: ru15.xpm
XXkb.mainwindow.image.3:
XXkb.mainwindow.image.4:
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

 
discard

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.