Summary: | XKB Keyboard Layout: How to Enter More than 1 Character using 1 keycode (key press)? | ||
---|---|---|---|
Product: | xorg | Reporter: | Asif Ali Rizwaan <maarizwan> |
Component: | Lib/Xlib | Assignee: | Sergey V. Udaltsov <svu> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | low | CC: | jamil, petrosyan |
Version: | 7.0.0 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Asif Ali Rizwaan
2004-09-24 04:54:51 UTC
I would think that this bug is invalid for two reasons: First, what is requested in this bug is that a keypress should be made to generate several events. That would be (at least) changing the XKB standard. I don't see that as the scope of this project. Secondly it seems to me that what is happening in the bug is that X is handling events to an input method that then assembles them to characters. For example the events for pressing the keys p+d+{ give the character JNA. Now, the requstor wants a single event to give a certain character. This should be handled by configureing the input method. The user don't give any information about which program is used, so I can't even begin to help. You can do what you want using the Compose file, eg: <a> : "America" <b> : "brrrrr" <c> : "D" (but you must know that then you won't be able to type those letters on the left side! you should better have your keyboard layout generate some unicode keysyms in unused or userdefined ranges, that is, and then translate those in Compose file) Is there any way to achieve this without modifying the "Compose" file? For example in Armenian we would like to have the letter "u" produce 2 characters "ու" <u> : "ու" What would be the easiest way to achieve this? The user don't give any information about which program is used, so I can't even begin to help. using Slackware 10.1, application/programs used are all editors like kword, kwrite, gedit, openoffice writer, etc., I use this command to switch the keyboard layout (in KDE) For Hindi: setxkbmap -model microsoftpro -layout dev -variant basic For English: setxkbmap -model microsoftpro -layout us -variant intl Btw, could you please tell me how do i change the compose file, I can see that the compose file is present at "/etc/X11/xkb/symbols/compose", but a small example to generate string -> "abcd" when character ->"a" key is pressed would really help me, and I could upload the compose file for other fellow users. thanks. It is Compose thingie (xkeyboard-config does not deal with it), so reassigning the bug... more sensible input methods would be welcome |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.