You are not logged in.
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
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
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
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
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