"Michael Knudsen" <micknudsen@gmail.com> writes:
> Michael Knudsen wrote:
>
> > Jeg har nu selv fundet en loesning paa mit problem:
> >
> > xmodmap -e 'keysym F5 = ae AE'
> > xmodmap -e 'keysym F6 = oslash Ooblique'
> > xmodmap -e 'keysym F7 = aring Aring'
>
> Hmmm ... det var da noget, jeg troede. De store bogstaver mangler.
> Burde ovenstaaende ikke foere til, at eksempelvis shift+F5 giver et
> stort ae?
Det troede jeg også, men det samme sker her. Jeg har endda prøvet at
definere 'æ' (keycode 47) og F9 (keycode 75) helt ens:
viggo
/>xmodmap -pk | grep ae
.....
47 0x00e6 (ae) 0x00c6 (AE) 0x00b4 (acute) 0x01bd (doubleacute) 0x00b4 (acute) 0x01bd (doubleacute)
75 0x00e6 (ae) 0x00c6 (AE) 0x00b4 (acute) 0x01bd (doubleacute) 0x00b4 (acute) 0x01bd (doubleacute)
Men xev siger
KeyPress event, serial 30, synthetic NO, window 0x3e00001,
root 0x3a, subw 0x3e00002, time 77006319, (38,30), root:(1070,55),
state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 30, synthetic NO, window 0x3e00001,
root 0x3a, subw 0x3e00002, time 77008551, (38,30), root:(1070,55),
state 0x11, keycode 75 (keysym 0xe6, ae), same_screen YES,
XKeysymToKeycode returns keycode: 47
XLookupString gives 2 bytes: (c3 a6) "æ"
XmbLookupString gives 2 bytes: (c3 a6) "æ"
XFilterEvent returns: False
KeyRelease event, serial 30, synthetic NO, window 0x3e00001,
root 0x3a, subw 0x3e00002, time 77008775, (38,30), root:(1070,55),
state 0x11, keycode 75 (keysym 0xe6, ae), same_screen YES,
XKeysymToKeycode returns keycode: 47
XLookupString gives 2 bytes: (c3 a6) "æ"
KeyPress event, serial 30, synthetic NO, window 0x3e00001,
root 0x3a, subw 0x3e00002, time 77037351, (38,30), root:(1070,55),
state 0x11, keycode 47 (keysym 0xc6, AE), same_screen YES,
XLookupString gives 2 bytes: (c3 86) "Æ"
XmbLookupString gives 2 bytes: (c3 86) "Æ"
XFilterEvent returns: False
KeyRelease event, serial 30, synthetic NO, window 0x3e00001,
root 0x3a, subw 0x3e00002, time 77037551, (38,30), root:(1070,55),
state 0x11, keycode 47 (keysym 0xc6, AE), same_screen YES,
XLookupString gives 2 bytes: (c3 86) "Æ"
KeyRelease event, serial 30, synthetic NO, window 0x3e00001,
root 0x3a, subw 0x3e00002, time 77042575, (38,30), root:(1070,55),
state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
Øbøh...?
I øvrigt kan man alligevel ikke skrive blindskrift oppe på F-tasterne,
så en ligeså effektiv løsning er (hvis der ikke er en Compose tast i
forvejen).
xmodmap -e 'keysym F12 = Multi_key'
F12-a-e
F12-A-E
F12-/-o
F12-/-O
F12-o-a
F12-o-A
--
O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907