LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   How to change the keyboard layout for the entire system? (http://www.linuxquestions.org/questions/slackware-14/how-to-change-the-keyboard-layout-for-the-entire-system-930785/)

JohnV2 02-22-2012 08:09 PM

How to change the keyboard layout for the entire system?
 
Hello,

How to change the keyboard layout for good? none of the other solutions found in the others posts works.

I did a few change like 90-keyboard-layout.conf and on the kde system option. But on console no has the change. On kde I change with Crt+Alt+F1 to whatever tty and don't have the change instead I do loadkey but I don't want to do every time loadkey.

Any clue? I'll be very grateful ;)

Thanks,
John

gnashley 02-23-2012 12:27 AM

90-keyboard-layout.conf has nothing to do with the console. Create a file under /etc/rc.d called 'rc.keymap' and then past this in there:
Code:

#!/bin/sh
# Load the keyboard map.  More maps are in /usr/share/kbd/keymaps.
if [ -x /usr/bin/loadkeys ]; then
 /usr/bin/loadkeys de-latin1.map
fi

Edit to load your preferred keyboard layout. Make sure it is executbale and it will be run each time you boot. You can have it take effect immediately by simply running it:
/etc/rc.d/rc.keymap
Usually this is file is created when you first install your system if you have chosen an alternate keyboard map during installation.

JohnV2 02-24-2012 09:47 PM

Hi gnashley,

Thank you. this is what I need. I didn't choose an alternate keyboard.

This about rc.keymap you know from where? any doc you know, to read about this kind of stuff the slackware?

regards,
John

catkin 02-25-2012 01:38 AM

The sample keymap files are under /usr/share/kbd/keymaps/, as described in the loadkeys man page.

Slackware is mostly "standard GNU/Linux" so there is often no specifically Slackware documentation on how to do things.


All times are GMT -5. The time now is 02:45 AM.