On Sunday 01 Jun 2003 17:03, Collins Richey wrote: > I've had a lengthy interchange on another group about this topic, but > thus far no success for me although it seens to work for most people. > > I would like to be able to generate the standard international > characters (umlaut vowels, Spanish reversed qustion marks, acute > acented vowels, etc.) via some combintion of keystrokes. My fonts > have good support, and such character are displayed ok in mozilla and > sylpheed, but I have not been able to find a way to generate the > characters in any X application. Lots of googling, but no joy. > > I have the following keyboard definitions in my XF86Config: > > Section "InputDevice" > > Identifier "Keyboard1" > Driver "Keyboard" > Option "XkbRules" "xfree86" > Option "XkbModel" "pc104" > Option "XkbLayout" "us_intl" > Option "XkbOptions" > "grp:lwin_switch,lv3:rwin_switch,grp_led:scroll,compose:menu" > > > Using xev, I see that these keys (Win left and right and Win Menu > keys) have the desired options: > > > KeyPress event, serial 28, synthetic NO, window 0x1200001, > root 0x38, subw 0x0, time 6432368, (81,494), root:(1015,518), > state 0x0, keycode 115 (keysym 0xff7e, Mode_switch), same_screen > YES, XLookupString gives 0 bytes: "" > > KeyPress event, serial 28, synthetic NO, window 0x1200001, > root 0x38, subw 0x0, time 6435868, (81,494), root:(1015,518), > state 0x0, keycode 116 (keysym 0xfe03, ISO_Level3_Shift), > same_screen YES, XLookupString gives 0 bytes: "" > > KeyPress event, serial 28, synthetic NO, window 0x1200001, > root 0x38, subw 0x0, time 6440948, (81,494), root:(1015,518), > state 0x0, keycode 117 (keysym 0xff20, Multi_key), same_screen > YES, XLookupString gives 0 bytes: "" > > However, these keys are not recognized in conjunction with any other > key - I just get the underlying key. The us_intl keymap has several > characters that have a specified third option, but I can get only > unshifted and shifted to work. > > What am I missing? How can I generate the desired characters using > some combination of keystrokes? > > Thanks,
Hi Collins, I use /etc/X11/Xmodmap (attached). Format is: keycode nn = <key> <shift> <AltGr> <shift+AltGr> In ~/.bashrc I have: [ -n $DISPLAY ] && xmodmap /etc/X11/Xmodmap HTH, Peter
keycode 10 = 1 exclam onesuperior exclamdown keycode 11 = 2 quotedbl twosuperior Igrave keycode 12 = 3 sterling threesuperior currency keycode 13 = 4 dollar onequarter dollar keycode 14 = 5 percent onehalf 5 keycode 15 = 6 asciicircum threequarters 6 keycode 16 = 7 ampersand braceleft 7 keycode 17 = 8 asterisk bracketleft 8 keycode 18 = 9 parenleft bracketright plusminus keycode 19 = 0 parenright braceright degree keycode 20 = minus underscore backslash questiondown keycode 21 = equal plus equal equal keycode 22 = BackSpace keycode 24 = q Q at igrave keycode 25 = w W ediaeresis Ediaeresis keycode 26 = e E eacute Eacute keycode 27 = r R paragraph registered keycode 28 = t T egrave Egrave keycode 29 = y Y y yen keycode 30 = u U udiaeresis Udiaeresis keycode 31 = i I iacute Iacute keycode 32 = o O odiaeresis Odiaeresis keycode 33 = p P thorn THORN keycode 34 = bracketleft braceleft bracketleft bracketleft keycode 35 = bracketright braceright bracketright bracketright keycode 38 = a A ae AE keycode 39 = s S ssharp section keycode 40 = d D eth ETH keycode 41 = f F ordfeminine ordfeminine keycode 42 = g G adiaeresis Adiaeresis keycode 43 = h H agrave Agrave keycode 44 = j J aring Aring keycode 45 = k K ampersand ampersand keycode 46 = l L ccedilla Ccedilla keycode 47 = semicolon colon ecircumflex Ecircumflex keycode 48 = apostrophe at ugrave Ugrave keycode 49 = grave notsign bar bar keycode 51 = numbersign asciitilde asciitilde asciitilde keycode 52 = z Z guillemotleft less keycode 53 = x X guillemotright greater keycode 54 = c C cent copyright keycode 55 = v V v grave keycode 56 = b B b apostrophe keycode 57 = n N ntilde Ntilde keycode 58 = m M mu masculine keycode 59 = comma less Eacute multiply keycode 60 = period greater periodcentered division keycode 61 = slash question slash slash keycode 94 = backslash bar bar brokenbar keycode 115 = F13 keycode 117 = Menu
-- [EMAIL PROTECTED] mailing list
