User Tools

Site Tools


keyb-layout

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

keyb-layout.txt · Last modified: 2017/11/25 17:38 by darkbyte