You are not logged in.
Pages: 1
Just changed to awesome WM and my keyboard is slightly wrong. For a start I can't seem to produce the hash symbol at all.
The wiki suggests that input hotplugging should be favoured for keyboard configuration. I have my keymap set as uk in rc.conf and here's what /etc/X11/xorg.conf.d/10-evdev.conf says about keyboards:
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
And the output of setxkbmap:
$ setxkbmap -print -verbose 10
Setting verbose level to 10
locale is C
Applied rules from evdev:
rules: evdev
model: evdev
layout: us
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us+inet(evdev)
geometry: pc(pc104)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)" };
xkb_geometry { include "pc(pc104)" };
};
This seems to suggest my keybaord is being loaded with the us keymap, which would explain why @ and " have swapped places. Anyone know what the correct course of action is to get my keyboard working correctly?
Cheers, Jonny
Offline
Do you happen have any statements in your ~/.xinitrc, that includes setxkbmap?
Offline
It's very simple. Add
Option "XkbLayout" "uk"
into that InputClass section.
Offline
So I added that line and rebooted, setxkbmap tells me I'm using the uk layout but none of the keys have changed, e.g. " and @. Hmm.
Offline
restarted X ?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Yes.
Offline
Ok, I just assumed the British layout is "uk". But it's not, it's "gb". For reference, layouts are in /usr/share/X11/xkb/symbols/
Offline
Using gb has worked thanks.
Offline
jonnybarnes,
please mark this thread as [SOLVED] by editing the title of your first post.
To know or not to know ...
... the questions remain forever.
Offline
Pages: 1