On 04. sep. 2012 07:18, Daiki Ueno wrote: >> > It used to work in Squeeze. > it looks a bit strange that it worked in Squeeze.
Quite. Seems ibus in Squeeze supports xkb (not all keys, typically not Shift variants), but not AltGr. On 06. sep. 2012 15:19, Tore Ferner wrote: > Seems AltGr just bypasses ibus. Wrong. Ibus in Wheezy does not support xkb (or support is quite incomplete), but supports AltGr. Fewer keys work with AltGr if you enable "Use system keyboard layout", though. Below is a quick and ugly workaround I did to make hi-phonetic.mim work "as documented" (with 3 exceptions) in Wheezy for a Norwegian system keyboard layout. It might be useful for other users with latin derived keyboards. Do similarly for other mim files you want to use. However, you might prefer to just skip such a "latin fix" and disable "Use system keyboard layout": Then the default layout of the devenagari letters is more systematic (although on the "wrong" keys) and more keys are available for you to add your own systematic/phonetic mappings, making typing faster and more logical. For example AltGr works on more keys, both shifted and unshifted. - I prefer this approach. Anyway, here is the Norwegian fix when you want to use system keyboard layout: $ mkdir ~/.m17n.d $ cp /usr/share/m17n/hi-phonetic.mim ~/.m17n.d Then edit the file "~/.m17n.d/hi-phonetic.mim" and insert the lines marked with ";; Latin fix", shown below the lines that are supposed to work ("G-x" is mim-talk for "AltGr-x"): ("@" ?ॅ) ((G-2) ?ॅ) ;; Latin fix ;; The "@" is on the "2" key on a latin2 keyboard ("$" ?ॉ) ((G-4) ?ॉ) ;; Latin fix ("{" ?ढ) ((G-7) ?ढ) ;; Latin fix ("[" ?ड) ((G-8) ?ड) ;; Latin fix ("}" ?ऱ) ((G-0) ?ऱ) ;; Latin fix ;((G-R) ?ऱ) ;; A somewhat more phonetic location ("]" ?ऋ) ((G-9) ?ऋ) ;; Latin fix ;((G-r) ?ऋ) ;; A somewhat more phonetic location ("^" "ज्ञ") ((dead_diaeresis) "ज्ञ");; <= Latin2 workaround: Must use different key ;((G-j) "ज्ञ") ;; A somewhat more phonetic location ;; You should perhaps change the description string at the beginning ;; of the mim file accordingly, under "Key summary", point 1. ("~" ?ऎ) ((G-5) ?ऎ) ;; <= Norwegian workaround: Must use different key ("`" ?ॆ) ((G-6) ?ॆ) ;; <= Norwegian workaround: Must use different key Save the file and right-click the ibus systray icon and select "restart". That's it. Hopefully, somebody has a better fix... Best regards, Tore -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org