If someone tries to access a DOSEMU instance running on a display of an Xvnc
server, the following information could be useful. Especially, if you are
not using the "us" keyboard layout and run a DOS application which has its
own keyboard driver...
The problem here is, that DOSEMU is running under an X server (from Xvnc)
which normally doesn't have the XKEYBOARD extension. The interesting thing
is, that in my case, all pressed keys shows up correctly in the COMMAND.COM
shell, but would fail in the application I use which translate them again by
its own keyboard driver.
The first thing I did, was searching for an Xvnc server with support for the
XKEYBOARD extension. Some sites in the Internet told me, that there is no
Xvnc server with support for XKEYBOARD extension. Period - But not for me. I
looked deeper and I found, that at least the Xvnc server from the TigerVNC
project has the option "+kb" to load this extension. To activate it, start
Xvnc with it:
# Xvnc <other options> +kb
You can verify it by running
# xdpyinfo -ext XKEYBOARD
in an Xterm under Xvnc. This tells you if the XKEYBOARD extension is
available or not.
If it is, then you have to change the keyboard layout of the Xvnc server
like this (replace "ch" with the one for you):
# setxkbmap -layout ch
You can verify it by
# setxkbmap -print
Start DOSEMU in the same Xvnc instance and configure your application to use
its keyboard driver ("swiss german" in my case). Now, your keys should be
correct. In my case, there are still a handful keys wrong, which I have to
Get latest updates about Open Source Projects, Conferences and News.