LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Changing keymaps in xorg.conf. (https://www.linuxquestions.org/questions/slackware-14/changing-keymaps-in-xorg-conf-365947/)

jens 09-22-2005 11:01 AM

Changing keymaps in xorg.conf.
 
Just installed Slack 10.2. All works well. besides that keymap thingy(I need Azerty).
Since it did detected it during installation(be-latin1), it works fine in CLI, but not in X.
I never had to change this before since I normally use GNOME, having a function to change this in the DE itself. Since GNOME is not supported anymore(I m still waiting for that mini FreeRock version that doesn t change any slack libs) I m now stuck with Qwerty. So now I m using both XFCE and Blackbox who don t have such a function, theirfor my question:

How do I change this in xorg.conf ?
Thanks,
Jens.

Mega Man X 09-22-2005 11:15 AM

Hi jens!

You will need to add (or modify) a line at your "InputDevice" section at your xorg.conf file. The following code shows an example to give support for a keyboard with Swedish input layout (mine ;)).

Code:

Section "InputDevice"
    Option "XkbLayout" "se"
EndSection

Substitute the "se" for your country code. You will also need to restart the X-server for the changes to take effect. I hope this is of any help.

Good luck!

jens 09-22-2005 12:02 PM

Thanks.
I'm typing this in Azerty now :)

Mega Man X 09-22-2005 12:04 PM

Congratulations mate! I'm glad it works ;)


All times are GMT -5. The time now is 04:39 AM.