LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-06-2006, 05:03 PM   #1
pinguin33
LQ Newbie
 
Registered: Jan 2006
Distribution: Fedora Core 4
Posts: 3

Rep: Reputation: 0
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.
 
Old 01-07-2006, 02:21 PM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
In Gnome: Desktop | System Settings | Keyboard > choose your keyboard layout and ready.
 
Old 01-07-2006, 03:15 PM   #3
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
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.
 
Old 01-08-2006, 07:13 AM   #4
pinguin33
LQ Newbie
 
Registered: Jan 2006
Distribution: Fedora Core 4
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 01-08-2006, 08:30 AM   #5
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using multiple keyboard layouts winterhunter Linux - Newbie 1 10-20-2005 02:39 PM
maping keys of multiple keyboards dupontct Linux - General 1 10-20-2005 01:41 PM
Multiple monitors and keyboards and mice, OH MY! dlublink Linux - Hardware 2 02-08-2005 02:16 PM
Problem changing keyboards layouts nickt72 Linux - Newbie 0 02-02-2004 08:00 AM
Need an advice for: Multiple Disks&Multiple Penguins and a XP :) thesappho Linux - Newbie 1 12-15-2003 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration