[x|k]dm changed behaviour/encoding in SuSE6.3 / Problems with
Keymappings
DEVRIENDT ERIK
Erik.Devriendt "at" siemens.be
Wed, 02 Feb 2000 10:19:01 +0000
Recently two persons reported problems with keymappings
"Hartmut Steffin" <h.steffin "at" abi-behoerden.de> ( [x|k]dm changed
behaviour/encoding in SuSE6.3 )
and
Chris Selivanow <cws "at" optimalpc.net> (Problems with Keymappings)
I use SuSE 6.2 and first had similar problems with the keymappings.
I already reported the solution to this list before, but I will repeat is
here.
I wrote at Tue 23/11/99 :
The cause is that the Xsetup scripts of SuSE are trying to be too smart.
Look into the script /usr/lib/X11/xdm/Xsetup_default,
or /usr/lib/X11/xdm/Xsetup_1 if you start Xvnc with option :1.
Starting at line 66 you will find :
#
# Set system keymap for the (remote) login display.
#
if test -x $xmodmap ; then
if test -z "${DISPLAY%:*}" ; then <-- (1)
# local connection, an alternated console
test -f $sysmodmap && $xmodmap $sysmodmap <-- (2)
else
# TCP/IP connection (remote or local)
# test -f $defmodmap && $xmodmap $defmodmap
# test -f $hostmodmap && $xmodmap $hostmodmap
:
fi
fi
The if test (1) looks for local displays. Since Xvnc pretends to be
a local display the result of this test is TRUE.
Then in (2) a special Xmodmap file is loaded, containing special
codes valid for local keyboards.
To solve your problem replace (2) by
# do not do Xmodmaps here because Xvnc does not like more than one modifier
per key.
# test -f $sysmodmap && $xmodmap $sysmodmap
:
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------