From: luxh Date: Thu, 21 Jul 2016 21:21:32 +0000 (+0000) Subject: add new way of configuring keyboard layout, xorg.conf.d/input.conf X-Git-Url: https://gitweb.dragonflybsd.org/ikiwiki.git/commitdiff_plain/48de5ee1983e0779186649113a87972bf61d24f6 add new way of configuring keyboard layout, xorg.conf.d/input.conf --- diff --git a/docs/developer/luxh/index.mdwn b/docs/developer/luxh/index.mdwn index 860b5ee3..1cac2d59 100644 --- a/docs/developer/luxh/index.mdwn +++ b/docs/developer/luxh/index.mdwn @@ -8,7 +8,26 @@ debug.debugger_on_panic=0 or put DDB_UNATTENDED in the config to panic instead o remember to update dumpdev in rc.conf when you change disk. ####X -Set keyboard layout in /etc/X11/xorg.conf. se_sv_dvorak is in /usr/local/share/X11/xkb/symbols/se_sv_dvorak +New way, when devd is used. se_sv_dvorak is in /usr/local/share/X11/xkb/symbols/se_sv_dvorak. Add this to /usr/local/etc/X11/xorg.conf.d/input.conf: + + Section "InputClass" + Identifier "Keyboard Defaults" + Driver "keyboard" + MatchIsKeyboard "on" + Option "Protocol" "standard" + Option "XkbRules" "base" + Option "XkbModel" "pc105" + Option "XkbLayout" "se_sv_dvorak" + EndSection + + Section "InputClass" + Identifier "Mouse Defaults" + Driver "mouse" + MatchIsPointer "on" + EndSection + + +Old way: Set keyboard layout in /etc/X11/xorg.conf. Section "InputDevice" Identifier "Keyboard0"