keyboard layout
hello all,
this should be rather simple: how do you configure keyboard layout? i'm not talking under X11 (which i guess is under xorg.conf), instead i'm talking when you do a login in init:2: mode (i.e. when you have to manually startx to enter the gui). everything is fine if i'm into X, however before starting X i still have the classic US keyboard. any ideas? thank you, aj. |
You need to setup the correct keymap in /etc/rc.d/rc.keymap.
|
thank you i'll try this!
|
hem sorry but no rc.keymap file on my system...
|
Check this post: http://www.linuxquestions.org/questi...hreadid=249005
If you don't have the /etc/rc.d/rc.keymap file just create it with root as owner and group, and set it to executable (it'll be loaded by rc.M). My rc.keymap looks like: Code:
#!/bin/sh PD: es.map is the Spanish layout ;) |
Funny, I've got mine set to uk.map, but it types in american format! HELP!
|
What do you mean it types in american format? Maybe you need to change that layout in X which was explained in the post I linked to.
|
You need to make sure that the keymap in /etc/rc.d/rc.keymap is the same as that in you xorg.conf. So in your case what you need to do is edit xorg.config and change the following line
Option "XkbLayout" "us" to Option "XkbLayout" "gb" |
hi again,
problem is i don't have the /etc/rc.d/rc.keymap file. i created one that looks like gbonvehi's one of the post here above, however i don't think this is executed at boot. you know how i can execute this at boot? and why in any case this file wasn't generated on my install (slack 10.1)? thank you, aj |
As root, just do "chmod +x /etc/rc.d/rc.keymap. When you restart your PC, it should use the selected keymap. There is mine below using the UK keymap.
Code:
#!/bin/sh |
Whoops. Answered an un-asked question.
|
All times are GMT -5. The time now is 10:59 AM. |