You are not logged in.
Pages: 1
I have two laptops running Arch Linux. On the first I have set norwegian keyboard with:
Option "XkbLayout" "no"
in then keyboard section of /etc/X11/xorg.conf.d/10-evdev.conf.
On the second I have usede
localectl set-x11-keymap no
from CLI to set the keymap.
What ist best practice?
Last edited by torors (2014-07-30 14:53:22)
Offline
localectl creates /etc/X11/xorg.conf.d/00-keyboard.conf
$ cat /etc/X11/xorg.conf.d/00-keyboard.conf
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "pl"
EndSection
Another computer:
$ cat /etc/X11/xorg.conf.d/00-keyboard.conf
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "pl"
Option "XkbModel" "pc105"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Neither of hem has /etc/X11/xorg.conf.d/10-evdev.conf, but they have /usr/share/X11/xorg.conf.d/10-evdev.conf - xorg-server 1.16 style.
Last edited by karol (2014-07-30 12:54:24)
Offline
Thanks. I think the "new" way of using localectl is better than the "old".
On a new system with xorg-server 1.16, I think we will have to copy /usr/share/X11/xorg.conf.d/10-evdev.conf to /etc/X11/xorg.conf.d./10-evdev.conf and then edit the file "by hand". Localectl seems simpler.
Marking the qustion as solved.
Last edited by torors (2014-07-30 14:59:16)
Offline
Pages: 1