You are not logged in.
I'm having problems setting my keyboard layout on boot in X11 using Xorg.conf.d. Specifically, I would like to set the default X keyboard to be Programmer Dvorak on boot with the caps:swapescape option on. I have followed the instructions on the Wiki for setting the default X keyboard; however, on boot the caps:swapescape option is applied but otherwise the layout is the standard US QWERTY layout. Setting the keyboard manually using the following command always works:
setxkbmap us -variant "dvp" -option "caps:swapescapeHere is the relevant Xorg.conf.d (10-keyboard.conf) file:
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "us"
Option "XkbVariant" "dvp"
Option "XkbOptions" "caps:swapescape"
EndSectionThe other thing that is strange is that the output of setxkbmap doesn't change between boot (incorrect keymap) and when the keymap is set manually.
$ setxkbmap -query -print -verbose 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: evdev
layout: us
variant: dvp
options: caps:swapescape
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us(dvp)+inet(evdev)+capslock(swapescape)
geometry: pc(pc104)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us(dvp)+inet(evdev)+capslock(swapescape)" };
xkb_geometry { include "pc(pc104)" };
};
rules: evdev
model: evdev
layout: us
variant: dvp
options: caps:swapescapeAny pointers in the correct direction would be greatly appreciated.
Offline
I'm currently using WMFS; however, I have the same issue in XFCE.
Offline
I remember having had the same issue with Gnome which ignores the settings in Xorg.d completely. I would assume the same for Xfce although not for WMFS.
Does this help?
Offline
wouldn't it be just easier to have that setxkbmap command run on boot in .xinitrc or in you WM config file which would auto start some apps?
I have
setxkbmap -layout dvorakin my .xinitrc file and it hasn't failed me.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline