====Switching keyboard layouts in X====
----
**__Applies to slackware__**
copy //90-keyboard-layout.conf// from ///usr/share/X11/xorg.conf.d// to ///etc/X11/xorg.conf.d//
cp -v /usr/share/X11/xorg.conf.d/90-keyboard-layout.conf /etc/X11/xorg.conf.d
and change corresponding options, e.g.:
Section "InputClass"
...
Option "XkbLayout" "us,sk"
Option "XkbVariant" ",qwerty"
Option "XkbOptions" "terminate:ctrl_alt_bksp,grp:alt_shift_toggle"
...
Endsection
----
**__Applies to debian__**
edit ///etc/default/keyboard// as root (sudo), and change corresponding options:
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="us,sk"
XKBVARIANT=",qwerty"
XKBOPTIONS="grp:alt_shift_toggle"
BACKSPACE="guess"
----
**Navigation: [[asm]] . [[compilation]] . [[linux]] . [[windows]] . [[mac]] . back to [[start]]**