Kristian Peters wrote:
Charles-Edouard Ruault <[EMAIL PROTECTED]> schrieb:Hi Kristian,
thanks for the reply, however i had no luck with your keymap either ....
Still the same behaviour :(
Add a "me too". I tried a lot of things. Nothing worked properly. Does anybody know about other distributions ? Could be interesting how for example Yellow Dog or Ubuntu handle this problem... Maybe X.org has an improved keyboard-layout ?
PS: Please CC me.
*Kristian
you can try the Xmodmap file that Bruno sent me. It works like a charm on KDE for my French keyboard.
I was getting desperate to have a decent keyboard !
I'm attaching the file.
Hope this helps.
Regards.
-- Charles-Edouard Ruault Idtect SA 115 rue Reaumur - 75002, Paris, France Tel: +33-1-55-34-76-65 Fax: +33-1-55-34-76-75 Web: http://www.idtect.com
! ! This Xmodmap works with most of the keys on my AlBook with French keyboard ! layout. ! ! Installing on Debian : ! - copy this file as /etc/X11/Xmodmap ! - install a 40custom_load-xmodmap file in /etc/X11/Xsession.d looking like: ! ----8<--------------------------------- ! #-*-sh-*- ! SYSMODMAP=/etc/X11/Xmodmap ! USRMODMAP=${HOME}/.Xmodmap ! ! if [ -x /usr/bin/X11/xmodmap ]; then ! if [ -f ${SYSMODMAP} ]; then ! xmodmap ${SYSMODMAP} ! fi ! fi ! ! if [ -x /usr/bin/X11/xmodmap ]; then ! if [ -f ${USRMODMAP} ]; then ! xmodmap ${USRMODMAP} ! fi ! fi ! ----8<--------------------------------- ! ! In order to facilitate key recognition keycodes are given respectively to ! their position on the keyboard from left-to-right and top-to-bottom. ! ! I tailored it a little bit in order to get : ! - easy combination to obtain the tilde symbol (apple n). ! - a delete key on Apple key with Fn key (fn apple). ! - an compose key on the next to right apple key. ! - an insert key in emacs on the next to right apple key (apple then compose) ! - a backslash easily accessible (apple :) ! - a pipe easily accessible (apple l and shift apple l) ! - a euro sign easily accessible (apple $) ! - a german double s remapped (shift apple s) ! ! Some keys seems to be unusable : ! - equal sign when NumLock is on (same keycode as left direction key) ! ! A lot of interesting docs about using Xmodmap and other X11 i18n and l10n stuff ! are accessible at sven maschek X11 page : ! ! http://www.in-ulm.de/~mascheck/X11/ ! ! Bruno Beaufils, 20050102 ! clear shift clear lock clear control clear mod1 clear mod2 clear mod3 clear mod4 clear mod5 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! Lines format is as follows (as described in the man page of xmodmap) : ! ! keycode alone Shift Mode_Switch Shift ! + Mode_Switch ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! 1st row !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! keycode 9 = Escape keycode 67 = F1 keycode 68 = F2 keycode 69 = F3 keycode 70 = F4 keycode 71 = F5 keycode 72 = F6 keycode 73 = F7 keycode 74 = F8 keycode 75 = F9 keycode 76 = F10 keycode 95 = F11 keycode 96 = F12 !keycode 116 = !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! 2nd row !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! keycode 49 = at numbersign periodcentered keycode 10 = ampersand 1 dead_acute dead_acute keycode 11 = eacute 2 keycode 12 = quotedbl 3 keycode 13 = apostrophe 4 grave keycode 14 = parenleft 5 braceleft bracketleft keycode 15 = section 6 paragraph keycode 16 = egrave 7 guillemotleft guillemotright keycode 17 = exclam 8 exclamdown Ucircumflex keycode 18 = ccedilla 9 Ccedilla Aacute keycode 19 = agrave 0 oslash Ooblique keycode 20 = parenright degree braceright bracketright keycode 21 = minus underscore keycode 22 = BackSpace BackSpace BackSpace BackSpace !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! 3rd row !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! keycode 23 = Tab ISO_Left_Tab keycode 24 = a A ae AE keycode 25 = z Z Acircumflex Aring keycode 26 = e E ecircumflex Ecircumflex keycode 27 = r R registered currency keycode 28 = t T keycode 29 = y Y keycode 30 = u U Uacute ydiaeresis keycode 31 = i I icircumflex idiaeresis keycode 32 = o O keycode 33 = p P keycode 34 = dead_circumflex dead_diaeresis ocircumflex Ocircumflex keycode 35 = dollar asterisk EuroSign yen keycode 36 = Return Return hyphen hyphen !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! 4th row !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! keycode 66 = Caps_Lock keycode 38 = q Q acircumflex Acircumflex keycode 39 = s S Ograve ssharp keycode 40 = d D keycode 41 = f F f periodcentered keycode 42 = g G keycode 43 = h H Igrave Icircumflex keycode 44 = j J Idiaeresis Iacute keycode 45 = k K Egrave Ediaeresis keycode 46 = l L bar bar keycode 47 = m M mu Oacute keycode 48 = ugrave percent Ugrave ucircumflex keycode 51 = dead_grave sterling at numbersign !keycode 36 = !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! 5th row !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! keycode 50 = Shift_L keycode 94 = less greater keycode 52 = w W keycode 53 = x X keycode 54 = c C copyright copyright keycode 55 = v V keycode 56 = b B keycode 57 = n N asciitilde dead_tilde keycode 58 = comma question at questiondown keycode 59 = semicolon period keycode 60 = colon slash backslash division keycode 61 = equal plus macron plusminus !keycode 50 = !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! 6th row !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !fn keycode 37 = Control_L keycode 64 = Alt_L keycode 115 = Mode_switch keycode 65 = space !keycode 115 = keycode 108 = Multi_key Multi_key Insert Insert keycode 100 = Left keycode 98 = Up keycode 104 = Down keycode 102 = Right !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! 1st row (with fn key) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !keycode 9 = !keycode 101 = !keycode 212 = !keycode 160 = !keycode 174 = !keycode 176 = !keycode ??? = Num_Lock !keycode ??? = !keycode ??? = !keycode ??? = !keycode ??? = !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! 2nd row (with fn key) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! keycode 77 = Num_Lock Pointer_EnableKeys keycode 79 = KP_7 KP_Home keycode 80 = KP_8 KP_Up keycode 81 = KP_9 KP_Prior keycode 112 = KP_Divide keycode 97 = Left !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! 3rd row (with fn key) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! keycode 83 = KP_4 KP_Left keycode 84 = KP_5 KP_Begin keycode 85 = KP_6 KP_Right keycode 63 = KP_Multiply !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! 4th row (with fn key) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! keycode 87 = KP_1 KP_End keycode 88 = KP_2 KP_Down keycode 89 = KP_3 KP_Next keycode 82 = KP_Subtract !keycode 108 = KP_Enter !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! 5th row (with fn key) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! keycode 90 = KP_0 KP_Insert keycode 91 = KP_Separator KP_Delete keycode 86 = KP_Add !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! 6th row (with fn key) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !keycode 109 = !keycode 113 = keycode 116 = Delete keycode 97 = Home keycode 99 = Prior keycode 105 = Next keycode 103 = End !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Modifiers !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! add shift = Shift_L add control = Control_L add lock = Caps_Lock add mod1 = Mode_switch add mod2 = Multi_key add mod3 = Alt_L !add mod3 = [...] (e.g. Num_Lock) !add mod4 = [...] (e.g. Alt_L / Alt_R) !add mod5 = [...] ! ! End of file