[opensuse] to map ISO_Level_3_Shift to a different key without using xmodmap?
Apple iBook G4 with OpenSuSE 11.1, italic keyboard layout. I found non of the keys on the keyboard maps to ISO_Level_3_shift. The "Option" key (which is the key that have "Alt" printed on its cap) is the key that should map to ISO_Level_3_shift, the very key function like "AltGr" on some keyboards. I can easily do that by using .xmodmap: keycode 64 = ISO_Level3_Shift The question is: is there another way of doing this without using .xmodmap? Reason of not using .xmodmap: I suffered a lot from this setup. Having spent a day or two on trying to get xmodmap and think it is a dead-end: 1. .xmodmap isn't always loaded, neither by gnome automatically nor by additional item in gnome-session. There are bug report of former (a gnome bug) and latter occasionally work -> unexplainable. 2. xmodmap have no effect on JAVA application (with IBM-JRE), while jEdit is my daily 1st important software. There is no clue if I google, which might well happen since IBM-jre have a much narrower user base than sun jre but is the only jre that can run jEdit on ppc. -- 锐业软服(北京)信息技术有限公司 Real Softservice Information & Communication Technologies 邮政编码: 100089 北四环中路238号 柏彦大厦406b室 Beisihuan Zhong Road No. 238 Baiyan Building Unit 406B Tel: +86 (10) 8231 8580 ext. 105 Fax: +86 (10) 8231 8580 ext. 102 http://www.realss.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Zhang Weiwu 写道:
Apple iBook G4 with OpenSuSE 11.1, italic keyboard layout.
At the edge of giving up I found answer myself. To map ISO_Level_3_Shift to a different key (in my case "alt" key) without using xmodmap: edit /usr/share/X11/xkb/symbols/it and replace all "ralt_switch" with "alt_switch". Restart X. Done. attach kbd section in xorg.conf FYI: Section "InputDevice" Driver "kbd" Identifier "Keyboard[0]" Option "Protocol" "Standard" Option "XkbLayout" "it" Option "XkbModel" "pc105" /* tried macintosh w/o success */ Option "XkbRules" "xfree86" EndSection -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Zhang Weiwu