Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For X have a look at /etc/X11/xorg.conf in the keyboard section there is an example line for setting the keyboard map to de, just uncomment that and chage the de to uk, for the console I don't know, have always set it when asked to when first installing the system
well first I added a line after the comments about changing it to something like this
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#
# Option "XkbOptions" "ctrl:swapcaps"
# These are the default XKB settings for X.Org
#
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""
Option "XkbLayout" "uk"
but that didnt do anything as far as I could tell so I changed it to de instead and now it wont change back
even if I delete that line and restart KDE (or completely)
Just run xorgconfig and reconfigure X or edit xorg.config and change Option "XkbLayout" "uk" to Option "XkbLayout" "gb". You actually changed your keyboard layout to Ukranian and not British.
Edit:
To load the UK keys by default in the console, edit /etc/rc.d/rc.keymap and change the keymap from us.map to uk.map.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.