On 24-May-99 Peter Howell Jr wrote:
>>Just for the record, the 'a' key on a qwerty is in the same position as
>>the 'a' key in the dvorak.
> 
>       So is the 'm'.  I have a bit more complicated question which has
> as much to do with my own software as my computer's.   I have an OS/2
> system at home with an ergonomic keyboard set up (via software) to dvorak.
> As a result, I have developed an interesting power/weakness.  If I sit
> down at my ergonomic keyboard, I can type away in dvorak.  I can also us a
> standard qwerty keyboard without a problem.  Sit me down at an ergonomic
> qwerty kb or a standard dvorak and I'm in trouble.  
>       This makes life a little complicated because i'd like my linux box
> (RH5.2 - axp) to be set up for dvorak.  I do most of my work in front of
> it, but I also must occassionally telnet in from other locations.  I can't
> garantee what kind of keyboard I'll have at the terminal.  
>       Is there a way of easily switching back and forth between the two
> keyboard layouts?  I have found some switches which work ofr my window
> manager, but don't effect the console.  An acceptible fix would have to be
> universal for the user.  Oh yes, that raises the other problem.  I'm not
> the only user on the system.  Is it possible for one user to have one
> layout at the same time another user has a different layout?    

Complicated... I'll try to address each issue individually.

Telnet:
This is determined by the machine the telnet client is on and not by the server.

Console:
Use the "loadkeys" command. This will affect all virtual console at that machine
and will be retained even after logging out. It does not affect X.

X:
Any fix for X will affect X only. If you wish to change the keyboard mapping
for the console as well, you should use a script to run both "loadkeys" and the
program you use to configure keyboard mapping for X (probably "xmodmap").

Multi-users:
For X, the user's "~/.xinitrc" or "~/.xsession" file can be used to setup the
appropriate keyboard mapping. The console is harder to handle as changes to the
keymap there will be retained after logging out, and I have no solution for it
short of hacking "/bin/login".

Cort
[EMAIL PROTECTED]

Reply via email to