LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Keyboard map (https://www.linuxquestions.org/questions/linux-general-1/keyboard-map-331612/)

Noido 06-08-2005 01:51 PM

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

phil.d.g 06-08-2005 01:56 PM

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

Noido 06-10-2005 10:49 AM

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.

Noido 06-10-2005 04:48 PM

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.

Genesee 06-10-2005 05:46 PM

well, without knowing what you did, its hard to suggest a solution....

which files did you change/edit? what did you do, exactly.

Noido 06-10-2005 05:56 PM

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)

DaWallace 06-10-2005 06:40 PM

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.

Noido 06-12-2005 01:07 PM

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.

DaWallace 06-12-2005 06:09 PM

the keyboard layout thing in the control panel..

Noido 06-13-2005 03:57 PM

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.

reddazz 06-14-2005 02:41 AM

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.