Re: Switching keyboards under X

1997-11-27 Thread Orn E. Hansen
Louis-David Mitterrand writes: > > Oh, I don't type the lines litteraly, they are bound to and > respectively in my shell. It is xmodmap itself that I find slow (2 full > seconds ;-) > You mean you are looking for an MS-DOS function like, where you can press CTRL-F1 to switch between ke

Re: Switching keyboards under X

1997-11-26 Thread Louis-David Mitterrand
On Wed, Nov 26, 1997 at 04:46:34PM -0500, Shaleh wrote: > I hate to sound sarcastic, but you could make a script tofrench and to > english, which called the proper xmodmap. That would save typing. Or > is it that xmodmap itself is slow? > > In pseudo-code: > if filename == tofrench > xmodm

Re: Switching keyboards under X

1997-11-26 Thread Shaleh
I hate to sound sarcastic, but you could make a script tofrench and to english, which called the proper xmodmap. That would save typing. Or is it that xmodmap itself is slow? In pseudo-code: if filename == tofrench xmodmap french else xmodmap englsh make a script and symlink toe

Switching keyboards under X

1997-11-26 Thread Louis-David Mitterrand
For programming I prefer the US keyboard layout, but to write in French I have to revert to a french-canadian layout. What is the fastest way to switch keyboard layouts on the fly under X-Window? Right now I use: xmodmap /usr/lib/kbd/keytables/us.xmap xmodmap /usr/lib/kbd/keytables/cf.xmap but