You are not logged in.

#1 2012-03-31 12:33:43

Throne777
Member
Registered: 2012-03-16
Posts: 61

Keyboard layout is wrong, no idea why [Solved]

OK, so my keyboard layout is correctly set in rc.conf (i.e. I have the UK layout selected). When I'm not in an x-session the keymap is correct and all is well and good. When I'm in an x-session it's not the UK layout and is in, what I assume is, a US layout. Checked the keymap wiki and it said the following:

Note: In an X session, you can use setxkbmap to instantly apply keyboard layout: setxkbmap -layout dvorak

Tried that (changing dvorak to uk) and got the following error:

Error loading new keyboard description

Anyone know what's going wrong?

Last edited by Throne777 (2012-03-31 13:06:28)


'All we ever were, just zeroes and ones'

Offline

#2 2012-03-31 12:55:15

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Keyboard layout is wrong, no idea why [Solved]

Take a look in /usr/share/X11/xkb/rules/xorg.lst to see all the available layouts. I'm guessing the one you're looking for is "gb".


Burninate!

Offline

#3 2012-03-31 12:59:10

Throne777
Member
Registered: 2012-03-16
Posts: 61

Re: Keyboard layout is wrong, no idea why [Solved]

Gcool wrote:

Take a look in /usr/share/X11/xkb/rules/xorg.lst to see all the available layouts. I'm guessing the one you're looking for is "gb".

Oh, awesome, thanks. Will that be permanently set to gb now or will I have to change it each time? (If the latter, how can I automate it?)


'All we ever were, just zeroes and ones'

Offline

#4 2012-03-31 13:01:29

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Keyboard layout is wrong, no idea why [Solved]

Setxkbmap will only apply the layout until the session ends. In order to make it permanent, you need to add it to your Xorg config. See this section of the install guide to see how that's done.


Burninate!

Offline

#5 2012-03-31 13:06:16

Throne777
Member
Registered: 2012-03-16
Posts: 61

Re: Keyboard layout is wrong, no idea why [Solved]

Gcool wrote:

Setxkbmap will only apply the layout until the session ends. In order to make it permanent, you need to add it to your Xorg config. See this section of the install guide to see how that's done.

Thanks, much appreciated. Wonder how I missed that bit as I worked my way through that guide :s


'All we ever were, just zeroes and ones'

Offline

Board footer

Powered by FluxBB