Summary: | Dead keys accessible trough AltGr | ||
---|---|---|---|
Product: | xkeyboard-config | Reporter: | Adriaan van Nijendaal <adriaan> |
Component: | General | Assignee: | xkb |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | low | CC: | adriaan |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Adriaan van Nijendaal
2007-07-28 04:45:01 UTC
Noticed that the web-interface truncates lines of the sections to be added. Please contact me for a file with this enhancement request with long(er) lines. Adriaan Thanks, First of all, do not bother about base.xml translations - they are done using proper translation process:) Then, could you please explain why variants intl or alt-intl are not good for you? Your version is very close (if not identical) o the intl variant. On Sat, 28 Jul 2007, bugzilla-daemon@freedesktop.org wrote: > First of all, do not bother about base.xml translations - they are done using > proper translation process:) Understood. > Then, could you please explain why variants intl or alt-intl are not good for > you? If one uses an international keyboard, a few keys are designated 'dead keys'. If one would type an eacute (é), which is used in almost every language (but English), one would type the ' (which doesn't 'do' anything - it's a dead key), followed by an e. You knew that. Now, if one would like to write 'something literal' (surrounded by quotes), one would need to type ' AND <space> to get a single ', since the ' key doesn't 'do' anything. This has to be done EVERYTIME, for ', and ", and ` and ^, etc. Two keystrokes for a single ' ? And two keystrokes for é ? Set your keyboard to International and try to type some C (or C++). You'll see what I mean. If ' would be just ', and AltGr-' would be the dead key, then one could type any text just as on the US keyboard, whereas the é is accessible through AltGr-' followed by e. In other words, one would not 'lose' the keys that are now dead keys. > Your version is very close (if not identical) o the intl variant. It's surely not identical. Whenever you type an ^ on my keyboard, you'll get an ^, whereas AltGr-^ followed by o will give you ô on my board. On the other international keyboards, you'll get NO ^ unless you follow it by a space. I imagine my explanation is not very clear: strange characters and foreign languages. Sorry about that. Please try the usual international layout for an hour. Or feel free to ask for more explanation (more verbose text). It's that important to me! Thank you for you quick response! Regards, Adriaan PS I responded by e-mail - oblivious to the 'proper' way. > I imagine my explanation is not very clear: strange characters and
> foreign languages. Sorry about that. Please try the usual
No, quite an opposite - your explanation makes sense to me. What I would ask is to include either us(intl) or us(alt-intl) instead of us(basic) and provide only different keysym mappings. Then it would be more obvious, ok?
That was an excellent idea, because it made me unravel what I did three years ago and it turns out I have secretly slipped in a few other changes as well. Looking at "international keyboards" on the internet, I see that many international keyboards have variants for a specific locale; I wanted to stay as close as possible to the original Microsoft definition. (BTW, even alt-intl is a diversion) The new section would be as follows: // I do NOT like dead-keys - the International keyboard as defined by Microsoft // doesn't fit my needs. Why use two keystrokes for all simple characters (eg ' // and <space> generates a single ') just to have an é (eacute) in two strokes // as well? I type ' more often than é (eacute). // // This file works just like a regular keyboard, BUT has all dead-keys // accessible at level3 (through AltGr). An ë (ediaeresis) is now: AltGr+" // followed by an e. In other words, this keyboard is not international as long // as you leave the right Alt key alone. // // The original MS International keyboard was intended for Latin1 (iso8859-1). // With the introduction of iso8859-15, the (important) ligature oe (and OE) // became available. I added them next to ae. Because I write ediaeresis more // often than registered, I moved registered to be next to copyright and added // ediaeresis and idiaeresis. - Adriaan partial alphanumeric_keys xkb_symbols "altgr-intl" { name[Group1]= "U.S. English - International (AltGr dead keys)"; include "us(intl)" // five dead keys moved into level3: key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; key <AE06> { [ 6, asciicircum, onequarter, dead_circumflex ] }; key <AC11> { [apostrophe,quotedbl, dead_acute, dead_diaeresis ] }; // diversions from the MS Intl keyboard: key <AE01> { [ 1, exclam, onesuperior, exclamdown ] }; key <AD04> { [ r, R, ediaeresis, Ediaeresis ] }; key <AC07> { [ j, J, idiaeresis, Idiaeresis ] }; key <AB02> { [ x, X, oe, OE ] }; key <AB04> { [ v, V, registered, registered ] }; // onequarter etc (not in iso8859-15) deleted to get three unshifted deadkeys: key <AE06> { [ 6, asciicircum, dead_circumflex ] }; key <AE07> { [ 7, ampersand, dead_horn ] }; key <AE08> { [ 8, asterisk, dead_ogonek ] }; include "level3(ralt_switch)" }; This way it looks much better and really clean. Committed, thanks. |
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.