Betreff: Re: [Fink-beginners] KDE Kate/kdevelop/kwrite & Apple X11 keyboard issue
Datum: 10. Mai 2004 10:48:37 MESZ
An: [EMAIL PROTECTED]
Am 07.05.2004 um 21:52 schrieb Timothy Quinn:
This is an update regarding the + and * keyboard issue with kdevelop/kate... on Apples X11.
I finally had time to forward this bug response on. Looks like Apple say's that it's not their bug. I know somebody put up a suggestion/work around for this but I cannot find it. It was regarding key mapping files.
This approach worked for me
1. open the file /sw/bin/startkde and remove (comment out) all lines which are modifying the xmodmap table.
Like this: #/usr/X11R6/bin/xmodmap -e "keycode 74 = Right" #/usr/X11R6/bin/xmodmap -e "keycode 78 = Left" #/usr/X11R6/bin/xmodmap -e "keycode 80 = Down" #/usr/X11R6/bin/xmodmap -e "keycode 85 = Up"
Create a .Xmodmap in your home directory
!--start-of-file-------------------- !clear all modifier keys like the apple, ctrl and alt key clear mod1 clear mod2 clear mod3 clear mod4 clear mod5 clear shift clear control !clear lock
!Add correct values for certain keys keycode 18 = asciicircum degree keycode 27 = 2 quotedbl twosuperior keycode 28 = 3 section threesuperior keycode 30 = 6 ampersand bracketright keycode 31 = 5 percent bracketleft keycode 32 = acute grave keycode 33 = 9 parenright braceright keycode 34 = 7 slash bar backslash keycode 35 = ssharp question keycode 36 = 8 parenleft braceleft keycode 38 = plus asterisk keycode 41 = udiaeresis Udiaeresis keycode 45 = l L at keycode 47 = adiaeresis Adiaeresis keycode 49 = odiaeresis Odiaeresis keycode 50 = numbersign apostrophe keycode 53 = n N asciitilde keycode 59 = BackSpace keycode 63 = Alt_L keycode 64 = Shift_L keycode 66 = Mode_switch
!remove wrong Cursor values keycode 74 = keycode 78 = keycode 80 = keycode 85 =
!add correct cursor values keycode 131 = Left keycode 132 = Right keycode 133 = Down keycode 134 = Up
! add the shift key add shift = Shift_L
!add the alt/option key add mod2 = Mode_switch
! add the apple key add mod4 = Meta_L
!that is the default for X11 on a Intel System add mod3 = Alt_L add control = Control_L
!--end-of-file--------------------------------
3. Add a line to your .xinitrc or to you /sw/bin/startkde like xmodmap /Users/username/.Xmodmap
At last: The new xmodmap settings are working for me. But usually should X11 take over the new xmodmap settings through the third point. But it doesn't on my powerbook. Don't know why.
You can test for correct xmodmap settings in a KDE konsole: open a konsole and add two or more shell tabs. Press Shift-*. The wrong xmodmap doesn't print a star. It switch the tabs instead. If your keytable is still wrong just call "xmodmap ~/.Xmodmap" and start a new konsole from the konsole. Don't start the new konsole from the startmenu. The new konsole should work now.
Regards
------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
