X11 keyboard unter RedHat 5.2 ohne deadkeys und mit Apostroph auf #

Problem: auf RedHat 5.2 (5.0?) hat man trotz Auswahl von "no-deadkeys" bei der Installation nachher Deadkeys unter X11.

Lösung: in /etc/X11/XF86Config die Zeile

# XkbVariant "nodeadkeys"
tauschen gegen:
XkbVariant "nodeadkeys"
Problem: jetzt liegt auf der Taste #/' kein Apostroph, sondern ein Akzent, den man nicht ordentlich verwenden kann.

Lösung: in /etc/X11/XF86Config die Zeile

XkbVariant "nodeadkeys"
tauschen gegen:
XkbVariant "nodeadkeys-custom"
und an /usr/X11R6/lib/X11/xkb/symbols/de anfügen:
    partial alphanumeric_keys
    xkb_symbols "nodeadkeys-custom" {
	// modify the default German layout to not have any dead keys
	// w/ "'" on key "#/'"
	// c.r. Mon Mar 15 23:42:39 CET 1999
	include "de(basic)"
	key <TLDE> {  [ asciicircum,  degree      ],
		  [   notsign             ]   };
	key <AE12> {  [ apostrophe,   grave       ],
		  [ cedilla           ]   };
	key <AD11> {  [ udiaeresis,   Udiaeresis  ],
		  [ diaeresis             ]   };
	key <AD12> {  [      plus,    asterisk    ],
		  [ asciitilde,   macron      ]   };
	key <AC10> {  [ odiaeresis,   Odiaeresis  ],
		  [ acute             ]   };
	key <AC11> {  [ adiaeresis,   Adiaeresis  ],
		  [ asciicircum           ]   };
	key <BKSL> {  [ numbersign,   apostrophe  ],
		  [ grave             ]   };
    };

Es kommt dabei auf die Zeile
key <BKSL> { [ numbersign, apostrophe ],
an.

Hintergrundinfo


chris
Stand: Tue Mar 16 00:37:08 MET 1999