VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

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

arslan

  • Member
  • *
  • Posts: 1
changing the keyboard layout switching key
« on: September 16, 2009, 02: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:
Quote
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!
EndSection
============================================================================

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 17, 2009, 12:23:46 am by arslan »
Logged