"Morten Green Hermansen" <[EMAIL PROTECTED]> wrote:
> I bought one of those wireless keyboards (Logitech diNovo Cordless Desktop for
> Notebooks). This keyboard do not have bluetooth support or anyother things
> that I might not get to work in the SunRay environment.
>
> I connected the keyboard and it worked "prefectly" - in US layout. My
> situation is that I am using a keyboard with danish layout. How is it
> possible to change the layout of the keyboard in a SunRay environment?
Does a Sun Danish keyboard work properly? If not then there's a
problem with the keytable files.
If the Sun keyboard works properly then the problem is likely
to be that your Logitech keyboard is not identifying itself as
a Danish-layout keyboard. It's common for PC-oriented keyboards
to always identify themselves as having the "default" layout
(USB layout code 0) and leaving it up to the host to decide what
that means.
In the Sun Ray case layout 0 gets treated as a US layout by
default. You can change this by editing the keytable map file,
which decides the keytable that is used for each layout code.
On Solaris Sun Ray shares the Xsun keytable map and keytables in
/usr/openwin/share/etc/keytables. On Linux Sun Ray delivers its
own map and keytables in /opt/SUNWut/lib/keytables. In both
cases the name of the map file is "keytable.map". You can edit
that file and change the line:
6 0 US6.kt
to:
6 0 Denmark6.kt
Unfortunately you have to edit the map file in place, there's
no way to create a site-local version of the file. The
ability to look at a locally-customised version of the file
instead would be a fine RFE.
The meaning is what you'd expect -- originally it says "Type
6 keyboards that report layout code 0 will use the US6.kt
keytable", you want it to say "Type 6 keyboards that report
layout code 0 will use the Denmark6.kt keytable". (Sun Ray
considers all keyboards to be Type 6 keyboards.) Obviously
this changes the default keytable for all keyboards that
identify themselves as having layout 0, so if anyone is using
a US-layout keyboard that identifies with layout 0 they're
going to be unhappy about this change. Sun keyboards won't
be affected by this edit because they report the correct
layout code.
OttoM.
__
ottomeister
Disclaimer: These are my opinions. I do not speak for my employer.
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users