Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to configure to switch between two keyboards ?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
NorthGoingZax
Apprentice
Apprentice


Joined: 03 Dec 2002
Posts: 189

PostPosted: Thu Dec 26, 2002 4:58 am    Post subject: How to configure to switch between two keyboards ? Reply with quote

I got my wife a German keyboard for Christmas, but I only use a 'normal' one. How can I set up gentoo so that we can 'hot swap' keyboards ?
Back to top
View user's profile Send private message
oai79
n00b
n00b


Joined: 22 Oct 2002
Posts: 55

PostPosted: Thu Dec 26, 2002 7:55 am    Post subject: Reply with quote

I don't think PS/2 support hotplug. I think usb keywoard may work. I have never tried 2 keyboards, but I have two mouse setup for my notwebook. Compile your kernel with usb support (etc.), emerge hotplug usbutils, modify the XF86Config file. These detail steps can be found for mouse setup in the forums.
Back to top
View user's profile Send private message
Can O' Beans
n00b
n00b


Joined: 12 Dec 2002
Posts: 50

PostPosted: Thu Dec 26, 2002 11:27 am    Post subject: Reply with quote

The PS2 port doesn't support hot swap, and it is slightly possible to burn something out doing so.

USB keyboards should work though, but I don't know how to set that up.
Back to top
View user's profile Send private message
NorthGoingZax
Apprentice
Apprentice


Joined: 03 Dec 2002
Posts: 189

PostPosted: Fri Dec 27, 2002 2:29 am    Post subject: keyboard switching problem redefined Reply with quote

ya know, i've been messing with the keyboards, and finding out that if i have the german keyboard plugged in, but don't look at the keyboard, (as I am right now as I type this), i get english, so it seems that i don't have a hardware problem as much as a software problem.

is there an easy way to tell the X-server to switch interpretations of the keyboard, maybe even without having to restart X ?
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Fri Dec 27, 2002 3:35 am    Post subject: Reply with quote

Are you using KDE by any chance? KDE has a keyboard control module, accessible via the Control Center or the little switcher you put in the panel. I'm toggling between Japanese, German and French all the time (without changing the physical keyboard, though, just have to remember the layouts). I presume Gnome has something similar, but I've never bothered looking for it there.
Back to top
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Sat Mar 08, 2003 6:47 am    Post subject: Reply with quote

I was wondering something simialr. Are you telling me noone else has made a keyboard swap program that can stand alone? some X-util perhaps?

PS/2 might not oficially hot-swap, but that has never stopped me from switching between a dvorak and a swedish keyboard whithout rebooting.

--Daniel Armyr
Back to top
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Sat Mar 08, 2003 7:51 am    Post subject: Problem solved Reply with quote

OK, a little search of the XFree docs gave this little nifty result:
Code:
setxkbmap -layout se

OK, Unless you want a swedish kb, you don't write se, but de-latin1 or whatever. The arguments are identcal to the ones you would use in the XF86Config file.
If youhave a more exotic keyboard, you would use the -geometry and the other whings you should have in your XF86Config allready as well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum