LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   multiple keyboards with multiple layouts (https://www.linuxquestions.org/questions/linux-hardware-18/multiple-keyboards-with-multiple-layouts-400357/)

pinguin33 01-06-2006 05:03 PM

multiple keyboards with multiple layouts
 
I work on fedora core 4 with a new laptop, and everything works fine.

I want to use several keyboards (3...4...) but I want every keyboard to have its own layout :

For example :

- keyboard 1 : QWERTY keyboard with US layout
- keyboard 2 : QWERTY keyboard with italian layout
- keyboard 3 : QWERTY keyboard with french layout

The hotplug works fine, and the keyboards are working well but they still have the same layout.

I crawl all documentation available, but I did not found a solution yet.

Any help will be appreciated.

linmix 01-07-2006 02:21 PM

In Gnome: Desktop | System Settings | Keyboard > choose your keyboard layout and ready.

RedShirt 01-07-2006 03:15 PM

I think you want to keep your setting for each seperate keyboard, and not have to change for every keyboard every time you plug it in, in which case linmix's solution certainly won't do that.

I think you need to edit the xorg.conf to have multiple keyboards, and define each different keyboard(must be a recognizably different keyboard, not 4 of the same model for instance.) as having a different layout. That when when your keyboard is plugged in, it will load the right model and then right layout for each model of keyboard. That should work.

pinguin33 01-08-2006 07:13 AM

The gnome settings are made for one layout only. It does not solve the problem.

I tried to change xorg.conf, and all my keyboards became crazy...

I post the extract of it below :

An xorg.conf with 3 keyboards : my laptop keyboard, and 2 external USB keyboards.

The problem is that with that xorg.conf, all my keyboards started to be out of control, sending lots of random caracters to the core, "tyuiyui" for one key press...

Quote:

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Keyboard1" "SendCoreEvents"
InputDevice "Keyboard2" "SendCoreEvents"
InputDevice "Synaptics" "AlwaysCore"
EndSection


Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "Device" "/dev/input/event0"
Option "XkbLayout" "fr"
EndSection


Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "Device" "/dev/input/event4"
Option "XkbLayout" "be"
EndSection

Section "InputDevice"
Identifier "Keyboard2"
Driver "kbd"
Option "XkbModel" "pc105"
Option "Device" "/dev/input/event5"
Option "XkbLayout" "fr"
EndSection


RedShirt 01-08-2006 08:30 AM

As I said I think you will need to have recognizably different keyboard models. All of them being PC105 would start having those issues. You would need to buy something like a 102, 104, and a 105. It has to be recognized as a fully seperate model upon being recognized for what I am suggesting to work(I think.) That may only be the way I understand current X to work, but I have a friend who has that working with 2 keyboards, but they are recognizably different(to the OS), and that may be the key.


All times are GMT -5. The time now is 07:34 PM.