Please support VectorLinux!

Author Topic: changing the keyboard layout switching key  (Read 1168 times)


  • Member
  • *
  • Posts: 1
changing the keyboard layout switching key
« on: September 16, 2009, 01:00:48 am »
Hi everybody,

I could use some help here, please. :) This is what I found in how-to's (the file referred to is xorg.conf in /etc/X11/):

5) if you need to install aditional layout( russian, for example), you need to add:
Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option  "XkbLayout"  "us,ru"    ## KEYBOARD_MAP!                   #additional layout
Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"          #Ctrl-Shift layout switching key combination
Option  "XkbModel"  ""    ## KEYBOARD_MODEL!
Option  "Xkbvariant"  ""    ## KEYBOARD_VARIANT!

Instead of Ctrl-Shift, I would like to switch keyboard layouts with double-pressed Scroll-Lock key. What should I put instead of "grp:ctrl_shift_toggle"?

Many thanks!

« Last Edit: September 16, 2009, 11:23:46 pm by arslan »