LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   X.org keyboard layout problem (https://www.linuxquestions.org/questions/linux-software-2/x-org-keyboard-layout-problem-219875/)

drigz 08-19-2004 05:19 PM

X.org keyboard layout problem
 
I live in Britain, and so want a British keyboard layout. However, although xorg.conf says to use a gb layout (see below), it doesn't. I can fix it by changing the rules xfree from xorg, but then I get an error on opening X. Here are the relevant lines from xorg.conf:

Code:

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "gb"
EndSection


320mb 08-19-2004 05:44 PM

I guess you need to create a symlink...................
Code:

ln -s path/to/keymap /usr/share/kbd/keymaps/defkeymap.map.gz
where path/to/keymap would be the layout you need, like--
i386/qwerty/nl.map.gz.

look thru those directories and find the layout you want to use......

drigz 08-20-2004 05:16 AM

Done - no difference. BTW, in normal console only mode (no X) I have the uk keymap.

BinaryLinux 08-20-2004 06:47 AM

My keyboard section is similar to yours except yours has more lines, heres mine for you to try.

Code:

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbLayout" "gb"
EndSection


drigz 08-20-2004 07:27 AM

I fixed it - GNOME was arbitrating the keyboard layout, so I had to change in in Applications -> Desktop Preferences -> Keyboard.


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