VectorLinux
October 22, 2014, 04:32:02 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: changing the keyboard layout switching key  (Read 1077 times)
arslan
Member
*
Posts: 1


« on: September 16, 2009, 01:00:48 am »

Hi everybody,

I could use some help here, please. Smiley 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 16, 2009, 11:23:46 pm by arslan » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!