I've had the same problem with a couple of installations now: SL 5.4 x86 E17 and SL 5.5 amd64 KDE. You can fix it. All the below must be done as root user.
1. Make sure /etc/conf.d/keymaps has keymap="uk" (this is for the console).
2. Add the following to /etc/X11/xorg.conf and reboot:
- Code: Select all
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "gb"
EndSection
If the above two steps alone do not fix it, carry on with the following steps:
3. Edit the file /etc/env.d/02locale and make it:
- Code: Select all
LANG="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LANGUAGE="en_GB.UTF-8"
GDM_LANG="en_GB.UTF-8"
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
SYSFONT="latarcyrheb-sun16"
then update the environment:
- Code: Select all
env-update && source /etc/profile
4. Edit the file /etc/locale.gen and make it the following (you can just comment out the other locales rather than deleting them if you want):
- Code: Select all
en_GB ISO-8859-1
en_GB.UTF-8 UTF-8
5. Enter the command:
- Code: Select all
locale-gen
6. If you're using KDE, make sure you have selected British English and United Kingdom keyboard layout via, respectively,
Kickoff > System Settings > Locale | Languages | Preferred Languages and
Kickoff > System Settings > Input Devices > Keyboard | Layouts | Add Layout.