This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
non us keyboards with cygwin, xfree86, Xwin -query XDMCP
- From: pbs <pnews at lomarline dot freeserve dot co dot uk>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 02 Sep 2003 21:37:23 +1200
- Subject: non us keyboards with cygwin, xfree86, Xwin -query XDMCP
- Reply-to: cygwin-xfree at cygwin dot com
Setup an out of the box cygwin installation with Xfree86
bash-prompt$ uname -a
CYGWIN_95-4.0 local_host 1.3.22(0.78/3/2) 2003-03-18 09:20 i586[snip]
Question Short version:
----------------------
With or without:
/etc/x11/XF86Config-4 installed with
Option "XkbLayout" "gb"
gives the error:
Couldn't load XKB keymap, falling back to pre-XKB keymap
What do I have to do to get Xwin.exe to read the gb XKB keymap?
Question Long version:
----------------------
My cygwin bash pompt is configured for a "gb" keyboard
-- If I press the @ key I get an "@".
If I run the following command from a bash prompt
Xwin.exe -emulate3buttons -query remote_host &
The log file "/tmp/XWinrl.log" contains the following error:
(==) Using preset keyboard for "English (United Kingdom)" (00000809),
type "4"
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = "xfree86" Model = "pc105" Layout = "gb" Variant = "(null)"
Options = "(null)"
Couldn't load XKB keymap, falling back to pre-XKB keymap
If I open an xterm and press the "@" key I get a double quote
key -- which is to be expected with the above error as it is what a
US key mapping gives.
I have gone throught archive and the previous thread which
came closes to answering my question was:
the post by Alexander Gottwald
http://sources.redhat.com/ml/cygwin-xfree/2003-02/msg00185.html
with a URL to a minimal XF86Config
http://www.tu-chemnitz.de/~goal/xfree/XF86Config.bz2
I have installed the file as /etc/x11/XF86Config-4 then uncommented
and modified the lines
# Option "XkbRules" "xfree86"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "de"
to
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Now when I run:
Xwin.exe -emulate3buttons -query remote_host &
The log file contains:
[snip]
(==) Using config file: "/etc/X11/XF86Config-4"
[snip]
(==) Using preset keyboard for "English (United Kingdom)" (00000809),
type "4"
(**) Using keyboard "Keyboard1" as primary keyboard
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "gb"
(**) XKB: layout: "gb"
Rules = "xfree86" Model = "pc105" Layout = "gb" Variant = "(null)"
Options = "(null)"
Couldn't load XKB keymap, falling back to pre-XKB keymap
What do I have to do to get Xwin.exe to read the gb XKB keymap?
BTW: Yes I know that I can run xmodmap as a client application. But
I would like to get the correct keyboard into the server without
doing this, so that the remote login clients(s) have access to the
correct key bindings.
Regards Philip