You are not logged in.
Pages: 1
OK i'm sure i'm doing something wrong but i don't know what. I have a US keyboard layout even though I have specified a UK map when installing and since.
I allowed X to autoconfigure so I don't have a Xorg.conf. rc.conf shows:
LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="Europe/London"
KEYMAP="uk"
CONSOLEFONT=
CONSOLEMAP=
Unless I misunderstand the LOCALE, CONSOLEFONT and CONSOLEMAP options shouldn't affect the kb layout. I have tried
[spoovy@peony etc]$ sudo loadkeys uk
which gives
Loading /usr/share/kbd/keymaps/i386/qwerty/uk.map.gz
[spoovy@peony etc]$
I started a new login shell, but still got the US layout. What am I missing?
Thanks in advance
spoov
Last edited by spoovy (2010-03-26 18:02:15)
Offline
Well, the following stanza does it for me:
LOCALE="en_GB.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="Europe/Berlin"
KEYMAP="uk"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Nah I tried changing LOCALE; did nothing.
Offline
Look in the Wiki for the section on hotplugging, it has something there about the keyboard defaulting to the US layout.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
The keyboard settings in rc.conf has _northing_ to do with the keyboard layout in X. You can set the layout in X in several ways:
If you use a de, just set it in the configuration center/desktop/whatever.
You can edit the hal rule
You can set it by running setxkbmap either explicitly or in a script.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
which leads me to another question - as I set up X without a xorg.conf, can I create one just to add 'fixes'. Or if I create a xorg.conf will it screw up the automatic settings (which work pretty well)
@Mr Elendig -
I can't find an appropriate place in my de config files, and the setxkbmap command doesn't seems to work, I htink a xorg.conf file in necessary for this? I will look at into HAL rules, see if that turns anything up.
Cheers
Last edited by spoovy (2010-03-26 17:42:44)
Offline
cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy/
As root. After that edit it to match your desired keymap, restart X or reboot and you are settled. setxkbmap should work, though. Maybe you're setting the wrong layout. From the wiki:
Option "XkbLayout" "uk" #"uk" is not a real layout, look in /usr/share/X11/xkb/symbols/ for a list of real ones.
#Try "gb" if you want a UK keyboard layout
Have you tried "gb" ?
Last edited by randomguy (2010-03-26 17:48:20)
Offline
@randomguy - yeah i'd already tried all that, when I originally installed and again just now. Still no good.
Last edited by spoovy (2010-03-26 17:56:41)
Offline
Sorted!
After changing the HAL policy again to gb (it had defaulted back to us for some reason) then running 'setxkbmap gb' it worked.
Cheers all.
Offline
Okay, let's see whether tty1-6 are uk. Are they? And which DE/WM are you using? And randomguy is right, even though it is "uk" in rc.conf and such, xorg insists on it being "gb".
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
too slow toad!
Offline
Pages: 1