Keyboard map
I'd just like to know how to change my keyboard map from the US to UK? i'm running slackware, and i'm very much a newbie :)
thanks -Noido |
In X or the console?
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 x but the console would be nice too if there's a way to do that - I'll have a look at what you suggest above though.
|
Keyboard map
oh dear. now im stuck in german mode and I cant get out of it. I tried editing it back to defaults but nothing happens. Im very truly stuck.
|
well, without knowing what you did, its hard to suggest a solution....
which files did you change/edit? what did you do, exactly. |
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) |
you can use loadkeys to change the keymap in the console. you can edit /etc/rc.d/rc.keymap to make it do it at boot.
|
Changing it in KDE
but how can I change the map in KDE!!!
Im still stuck in german mode here. its annoying. please help!! oh and by the way I cant see that rc.keymap file. |
the keyboard layout thing in the control panel..
|
yeah I know, but how do you do it from the command line?
- I found that control panel thing after posting that, but if anyone knows how to do it from command line then tell. |
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. Cheers :) |
All times are GMT -5. The time now is 12:55 AM. |