1 // Hellenic keyboard map for X.org
4 // Kostas Gewrgiou <gewrgiou@imbc.gr>
5 // Heavily modified and maintained by:
6 // Vasilis Vasaitis <vvas@hal.csd.auth.gr>
7 // Originally converted to single group form by:
8 // Ivan Pascal <pascal@info.tsu.ru>
10 default partial alphanumeric_keys alternate_group
14 name[Group1] = "Greek";
19 include "level3(ralt_switch)"
21 key <AB01> { [ NoSymbol, NoSymbol, U037D, U03FF ] };
22 key <AB02> { [ NoSymbol, NoSymbol, rightarrow, leftarrow ] };
23 key <AB03> { [ NoSymbol, NoSymbol, copyright ] };
24 key <AB04> { [ NoSymbol, NoSymbol, U03D6 ] };
25 key <AB05> { [ NoSymbol, NoSymbol, U03D0 ] };
26 key <AB06> { [ NoSymbol, NoSymbol, U0374, U0375 ] };
27 key <AB07> { [ NoSymbol, NoSymbol, U03FB, U03FA ] };
28 key <AB08> { [ NoSymbol, NoSymbol, guillemotleft ] };
29 key <AB09> { [ NoSymbol, NoSymbol, guillemotright, periodcentered ] };
30 key <AC03> { [ NoSymbol, NoSymbol, downarrow, uparrow ] };
31 key <AC04> { [ NoSymbol, NoSymbol, U03D5 ] };
32 key <AC05> { [ NoSymbol, NoSymbol, U03DD, U03DC ] };
33 key <AC07> { [ NoSymbol, NoSymbol, U037C, U03FE ] };
34 key <AC08> { [ NoSymbol, NoSymbol, U03DF, U03DE ] };
35 key <AC09> { [ NoSymbol, NoSymbol, U03F2, U03F9 ] };
36 key <AC10> { [ NoSymbol, NoSymbol, dead_acute, dead_psili ] };
37 key <AC11> { [ NoSymbol, NoSymbol, dead_grave, dead_dasia ] };
38 key <AD01> { [ NoSymbol, NoSymbol, periodcentered ] };
39 key <AD02> { [ NoSymbol, NoSymbol, U03DB, U03DA ] };
40 key <AD04> { [ NoSymbol, NoSymbol, registered, U03F1 ] };
41 key <AD07> { [ NoSymbol, NoSymbol, U03D1, U03F4 ] };
42 key <AD08> { [ NoSymbol, NoSymbol, U037B, U03FD ] };
43 key <AD10> { [ NoSymbol, NoSymbol, U03E1, U03E0 ] };
44 key <AD11> { [ NoSymbol, NoSymbol, dead_tilde, dead_macron ] };
45 key <AD12> { [ NoSymbol, NoSymbol, dead_iota, dead_breve ] };
46 key <AE01> { [ NoSymbol, NoSymbol, NoSymbol, onesuperior ] };
47 key <AE02> { [ NoSymbol, NoSymbol, onehalf, twosuperior ] };
48 key <AE03> { [ NoSymbol, NoSymbol, sterling, threesuperior ] };
49 key <AE04> { [ NoSymbol, NoSymbol, onequarter, threequarters ] };
50 key <AE07> { [ NoSymbol, NoSymbol, U03F0 ] };
51 key <AE10> { [ NoSymbol, NoSymbol, degree ] };
54 partial alphanumeric_keys alternate_group
55 xkb_symbols "simple" {
59 name[Group1] = "Greek (simple)";
61 key <TLDE> { [ grave, asciitilde ] }; // ` ~
62 key <AE01> { [ 1, exclam ] }; // 1 !
63 key <AE02> { [ 2, at ] }; // 2 @
64 key <AE03> { [ 3, numbersign ] }; // 3 #
65 key <AE04> { [ 4, dollar ] }; // 4 $
66 key <AE05> { [ 5, percent ] }; // 5 %
67 key <AE06> { [ 6, asciicircum ] }; // 6 ^
68 key <AE07> { [ 7, ampersand ] }; // 7 &
69 key <AE08> { [ 8, asterisk ] }; // 8 *
70 key <AE09> { [ 9, parenleft ] }; // 9 (
71 key <AE10> { [ 0, parenright ] }; // 0 )
72 key <AE11> { [ minus, underscore ] }; // - _
73 key <AE12> { [ equal, plus ] }; // = +
75 key <AD11> { [ bracketleft, braceleft ] }; // [ {
76 key <AD12> { [ bracketright, braceright ] }; // [ {
78 key <AC11> { [ apostrophe, quotedbl ] }; // ' "
80 key <AB08> { [ comma, less ] }; // , <
81 key <AB09> { [ period, greater ] }; // . >
82 key <AB10> { [ slash, question ] }; // / ?
83 key <BKSL> { [ backslash, bar ] }; // \ |
88 hidden partial alphanumeric_keys alternate_group
91 key <AD01> { [ semicolon, colon ] }; // ; :
92 key <AD02> { [ Greek_finalsmallsigma, Greek_SIGMA ] }; // ς Σ
93 key <AD03> { [ Greek_epsilon, Greek_EPSILON ] }; // ε Ε
94 key <AD04> { [ Greek_rho, Greek_RHO ] }; // ρ Ρ
95 key <AD05> { [ Greek_tau, Greek_TAU ] }; // τ Τ
96 key <AD06> { [ Greek_upsilon, Greek_UPSILON ] }; // υ Υ
97 key <AD07> { [ Greek_theta, Greek_THETA ] }; // θ Θ
98 key <AD08> { [ Greek_iota, Greek_IOTA ] }; // ι Ι
99 key <AD09> { [ Greek_omicron, Greek_OMICRON ] }; // ο Ο
100 key <AD10> { [ Greek_pi, Greek_PI ] }; // π Π
102 key <AC01> { [ Greek_alpha, Greek_ALPHA ] }; // α Α
103 key <AC02> { [ Greek_sigma, Greek_SIGMA ] }; // σ Σ
104 key <AC03> { [ Greek_delta, Greek_DELTA ] }; // δ Δ
105 key <AC04> { [ Greek_phi, Greek_PHI ] }; // φ Φ
106 key <AC05> { [ Greek_gamma, Greek_GAMMA ] }; // γ Γ
107 key <AC06> { [ Greek_eta, Greek_ETA ] }; // η Η
108 key <AC07> { [ Greek_xi, Greek_XI ] }; // ξ Ξ
109 key <AC08> { [ Greek_kappa, Greek_KAPPA ] }; // κ Κ
110 key <AC09> { [ Greek_lamda, Greek_LAMDA ] }; // λ Λ
111 key <AC10> { [ dead_acute, dead_diaeresis ] }; // ´ ¨
113 key <AB01> { [ Greek_zeta, Greek_ZETA ] }; // ζ Ζ
114 key <AB02> { [ Greek_chi, Greek_CHI ] }; // χ Χ
115 key <AB03> { [ Greek_psi, Greek_PSI ] }; // ψ Ψ
116 key <AB04> { [ Greek_omega, Greek_OMEGA ] }; // ω Ω
117 key <AB05> { [ Greek_beta, Greek_BETA ] }; // β Β
118 key <AB06> { [ Greek_nu, Greek_NU ] }; // ν Ν
119 key <AB07> { [ Greek_mu, Greek_MU ] }; // μ Μ
121 key <LSGT> { [ guillemotleft, guillemotright ] }; // « »
124 // ===========================================================================================
125 // Greek - Extended |
126 // ===========================================================================================
128 // ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━━━┓
129 // │ ~ │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ ( │ ) │ _ │ + ┃Backspace ┃
130 // │ ` │ 1 │ 2 │ 3 £ │ 4 │ 5 € │ 6 │ 7 │ 8 │ 9 │ 0 ° │ - ± │ = ┃ ┃
131 // ┢━━━━━┷━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺━┳━━━━━━━━━┫
132 // ┃ ┃ : │ Σ │ Ε │ Ρ │ Τ │ Υ │ Θ │ Ι │ Ο │ Π │ { │ } ┃Enter ┃
133 // ┃Tab ┃ ; · │ ς │ ε € │ ρ ® │ τ │ υ │ θ │ ι │ ο │ π │ [ │ ] ┃ ┃
134 // ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓ ┃
135 // ┃Caps ┃ Α │ Σ │ Δ │ Φ │ Γ │ Η │ Ξ │ Κ │ Λ │ ¨ │ " │ | ┃ ┃
136 // ┃Lock ┃ α │ σ │ δ │ φ │ γ │ η │ ξ │ κ │ λ │ ´ │ ' │ \ ┃ ┃
137 // ┣━━━━━━━┳┹────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┲┷━━━━━┻━━━━━━━━┫
138 // ┃ ┃ » │ Ζ │ Χ │ Ψ │ Ω │ Β │ Ν │ Μ │ < │ > │ ? ┃ ┃
139 // ┃Shift ┃ « │ ζ │ χ │ ψ © │ ω │ β │ ν │ μ │ , « │ . » │ / ┃Shift ┃
140 // ┣━━━━━━━╋━━━━━┷━┳━━━┷━━━┱─┴─────┴─────┴─────┴─────┴─────┴──┲━━┷━━━━┳┷━━━━━┻┳━━━━━━━┳━━━━━━┫
142 // ┃Ctrl ┃Meta ┃Alt ┃ Space ┃AltGr ┃Meta ┃Menu ┃Ctrl ┃
143 // ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹──────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━┻━━━━━━┛
145 partial alphanumeric_keys alternate_group
146 xkb_symbols "extended" {
150 name[Group1] = "Greek (extended)";
152 key.type[Group1] = "THREE_LEVEL";
154 key <AE03> { [ NoSymbol, NoSymbol, sterling ] }; // £
155 key <AE10> { [ NoSymbol, NoSymbol, degree ] }; // °
156 key <AE11> { [ NoSymbol, NoSymbol, plusminus ] }; // ±
158 key <AD01> { [ NoSymbol, NoSymbol, periodcentered ] }; // ·
159 key <AD04> { [ NoSymbol, NoSymbol, registered ] }; // ®
161 key <AB03> { [ NoSymbol, NoSymbol, copyright ] }; // ©
162 key <AB08> { [ NoSymbol, NoSymbol, guillemotleft ] }; // «
163 key <AB09> { [ NoSymbol, NoSymbol, guillemotright ] }; // »
165 include "level3(ralt_switch)"
166 include "eurosign(5)"
167 include "eurosign(e)"
170 partial alphanumeric_keys alternate_group
171 xkb_symbols "polytonic" {
173 include "gr(extended)"
175 name[Group1] = "Greek (polytonic)";
177 key.type[Group1] = "THREE_LEVEL";
179 key <AD11> { [ dead_tilde, dead_diaeresis, dead_macron ] }; // ~ ¨ ¯
180 key <AD12> { [ dead_iota, VoidSymbol, dead_breve ] }; // ͺ ˘
182 key <AC10> { [ dead_acute, dead_psili ] }; // ´ ̓
183 key <AC11> { [ dead_grave, dead_dasia ] }; // ` ̔
186 partial alphanumeric_keys alternate_group
187 xkb_symbols "nodeadkeys" {
191 name[Group1] = "Greek (eliminate dead keys)";
193 key <AC10> { [ semicolon, colon ] }; // ; :