Re: Qs about /usr/openwin/etc/keytables/*.kt.Z

From: Alan Coopersmith (alanc_at_alum.calberkeley.org)
Date: 11/30/03


Date: Sun, 30 Nov 2003 08:57:11 +0000 (UTC)

Thomas Tornblom <thomas@Hax.SE.remove-to-reply> writes in comp.unix.solaris:
|Alan Coopersmith <alanc@alum.calberkeley.org> writes:
|
|> "Erlend Leganger" <erlend.leganger@a4.no> writes in comp.unix.solaris:
|> |These files seems to contain keyboard layouts. Does anyone know how to use
|> |them, for instance to load a new keyboard layout after logging in to CDE?
|>
|> They are read by the X server at startup time only - you can't reload a
|> different one after logging in. On sparc, it chooses the layout by
|> mapping the keyboard layout reported by the keyboard using the mapping
|> in the keytable.map file - if you wanted to permanently change the
|> keyboard layout, you'ld have to edit that file to make it load a
|> different one.
|
|I believe you can have a per user "$HOME/.keytable" that is read when
|you start X. This was the way I fixed the broken PC-style keyboard
|layout I had on the Sparcbook I had many years ago.

Right. I knew there was something I was forgetting. It's still startup
time only though (which means I don't think it will work with dtlogin,
but only with xinit/openwin). Of course, my brain's been on vacation
for a week, so don't hold me to it...

-- 
________________________________________________________________________
Alan Coopersmith                              alanc@alum.calberkeley.org
http://www.CSUA.Berkeley.EDU/~alanc/       aka: Alan.Coopersmith@Sun.COM
  Working for, but definitely not speaking for, Sun Microsystems, Inc.


Relevant Pages