summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlucky <lucky@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2007-05-01 21:12:57 +0000
committerlucky <lucky@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2007-05-01 21:12:57 +0000
commita5bc759afcf658c0c134a179c6c5a7ee989e113b (patch)
tree728025ae2eab593cb590699ec04d832b55eed3f7
parentaff1bb88f56c9090cb9bcf2982e681019734531c (diff)
added xkbmap
git-svn-id: https://svn.neo-layout.org@84 b9310e46-f624-0410-8ea1-cfbb3a30dc96
-rw-r--r--linux/X/README26
-rw-r--r--linux/X/TODO35
-rw-r--r--linux/X/neo146
3 files changed, 207 insertions, 0 deletions
diff --git a/linux/X/README b/linux/X/README
new file mode 100644
index 0000000..7780380
--- /dev/null
+++ b/linux/X/README
@@ -0,0 +1,26 @@
+== Kleine Anleitung ==
+die datei neo muss unter linux nach:
+/usr/share/X11/xkb/symbols
+(root-rechte benoetigt)
+
+=== Aktivieren ===
+Zu aktivieren einfach
+ setxkbmap neo
+eintippen
+
+=== Deaktivieren ===
+Zurück zu qwertz geht es mit:
+ setxkbmap de
+
+=== Tipp ===
+Trägt man folgende Zeilen in die ~/.bashrc, ~/.zshrc oder vergleichbares ein,
+kann man anschließend mittels abrollen der linken Hand auf der Grundreihe
+zwischen qwertz und NEO wechseln.
+alias uiae='setxkbmap de'
+alias asdf='setxkbmap neo'
+
+
+Zur Zeit beinhaltet die Datei nur "NEO2.0". Die Versionen in den anderen beiden xmodmaps folgen.
+Sind mehrere Varianten in der datei angegeben, kann man auf sie mit setxkbmap neo $variante zugreifen.
+Es ist zu überlegen, ob neo als Variante von de sinnvoll ist, wie dies z.Z. schon bei debian und ubuntu
+mit neo1.0 der fall ist.
diff --git a/linux/X/TODO b/linux/X/TODO
new file mode 100644
index 0000000..7891535
--- /dev/null
+++ b/linux/X/TODO
@@ -0,0 +1,35 @@
+==============
+Varianten
+==============
+
+Es ist zu klären, welche Varianten in die Datei sollen, und welche davon default wird.
+Ebenso ist die momentane Version vermutlich nicht 100% aktuell.
+Ob die Datei ohne weiteres unter *BSD tut, muss ich noch testen.
+
+==============
+Deadkeys
+==============
+
+Alle Deadkey-Bugs der xmodmap sind behoben bis auf:
+
+Maltesisch: Ħ ħ
+Isländisch, Färöisch: Ð
+Kroatisch: Ð
+Polnisch, Sorbisch, Weißrussisch, Kaschubisch: ł Ł
+Dänisch, Färöisch, Norwegisch: Ø ø
+--> für diese gibt es meiner Meinung nach den dead_stroke. Der
+funktioniert allerdings bei mir nicht. Vielleicht kann das ja jemand auf
+einem anderen System mal ausprobieren.
+
+Isländisch, Färöisch: ð
+Kroatisch: đ
+--> das sind die kleinen Varianten zu Ð. Das eine müsste auch mit
+dead_stroke gehen, das andere müssen wir dann wahrscheinlich definieren.
+
+=============
+Caps-Lock
+=============
+
+Caps-Lock auf der dritten Ebene funktioniert nicht, jedoch auf der 5ten. Es ist also z.Z.
+bequem über mod5+ das linke AltGr zu erreichen.
+
diff --git a/linux/X/neo b/linux/X/neo
new file mode 100644
index 0000000..73bdc35
--- /dev/null
+++ b/linux/X/neo
@@ -0,0 +1,146 @@
+// German Neolayout
+// Fragen? mail an: lucky (bei) zankt (punkt) net oder
+// neo_layout (bei) yahoogroups (punkt) de
+
+partial
+xkb_symbols "basic" {
+
+ name[Group1]= "German Neostyle (v.2.0)";
+
+ key.type[group1]="EIGHT_LEVEL_SEMIALPHABETIC";
+
+ // Zahlenreihe
+ key <TLDE> { [ dead_circumflex, dead_caron, dead_breve, paragraph, dead_stroke ] };
+
+ key <AE01> { [ 1, degree, notsign, onesuperior ] };
+ key <AE02> { [ 2, 2, asciicircum, twosuperior ] };
+ key <AE03> { [ 3, section, 3, threesuperior ] };
+ key <AE04> { [ 4, dollar, yen, cent, Prior, Prior ] };
+ key <AE05> { [ 5, EuroSign, sterling, currency ] };
+ key <AE06> { [ 6, ordfeminine, ae, AE ] };
+ key <AE07> { [ 7, masculine, oe, OE ] };
+ key <AE08> { [ 8, doublelowquotemark, singlelowquotemark, guillemotright, slash ] };
+ key <AE09> { [ 9, leftdoublequotemark, leftsinglequotemark, guillemotleft, asterisk] };
+ key <AE10> { [ 0, rightdoublequotemark, rightsinglequotemark, U203A, minus ] };
+ key <AE11> { [ minus, U2013, U2014, U2039 ] };
+ key <AE12> { [ dead_acute, dead_grave, dead_cedilla, dead_ogonek, dead_abovedot, dead_abovering ] };
+
+
+ // obere Reihe
+ key <AD01> { [ x, X, at, Greek_xi, Escape, Greek_XI ] };
+ key <AD02> { [ v, V, underscore, underscore, BackSpace ] };
+ key <AD03> { [ l, L, bracketleft, Greek_lambda, Up, Up ] };
+ key <AD04> { [ c, C, bracketright, Greek_chi, ccedilla, copyright ] };
+ key <AD05> { [ w, W, asciitilde, asciitilde, Insert ] };
+ key <AD06> { [ k, K, exclam, Greek_kappa, exclamdown ] };
+ key <AD07> { [ h, H, less, Greek_psi, 7, Greek_PSI ] };
+ key <AD08> { [ g, G, greater, Greek_gamma, 8, Greek_GAMMA ] };
+ key <AD09> { [ f, F, equal, Greek_phi, 9, Greek_PHI ] };
+ key <AD10> { [ q, Q, ampersand, ampersand, plus ] };
+ key <AD11> { [ ssharp, minus, U133, U132, schwa, SCHWA ] };
+ key <AD12> { [ dead_tilde, dead_macron, dead_diaeresis, dead_doubleacute, dead_belowdot, dead_belowdot ] };
+
+
+ // mittlere Reihe
+ key <AC01> { [ u, U, backslash, backslash, Home, Home ] };
+ key <AC02> { [ i, I, slash, Greek_iota, Left, Left ] };
+ key <AC03> { [ a, A, braceleft, Greek_alpha, Down, Down ] };
+ key <AC04> { [ e, E, braceright, Greek_epsilon, Right, Right ] };
+ key <AC05> { [ o, O, asterisk, Greek_omega, End, End ] };
+ key <AC06> { [ s, S, question, Greek_sigma, questiondown, Greek_SIGMA ] };
+ key <AC07> { [ n, N, parenleft, Greek_nu, 4, U2116 ] };
+ key <AC08> { [ r, R, parenright, Greek_rho, 5, registered ] };
+ key <AC09> { [ t, T, minus, Greek_tau, 6, trademark ] };
+ key <AC10> { [ d, D, colon, Greek_delta, comma, Greek_DELTA ] };
+ key <AC11> { [ y, Y, y, Greek_upsilon, thorn, THORN ] };
+
+
+ // untere Reihe
+ key <AB01> { [ odiaeresis, Odiaeresis, asciicircum, asciicircum, Tab, Tab ] };
+ key <AB02> { [ udiaeresis, Udiaeresis, dollar, Udiaeresis, Delete ] };
+ key <AB03> { [ adiaeresis, Adiaeresis, bar, Greek_eta, Next, Next ] };
+ key <AB04> { [ p, P, numbersign, Greek_pi, p, Greek_PI ] };
+ key <AB05> { [ z, Z, grave, Greek_zeta, z, Greek_ZETA ] };
+ key <AB06> { [ b, B, plus, Greek_beta, plusminus, Greek_Beta ] };
+ key <AB07> { [ m, M, percent, mu, 1 ] };
+ key <AB08> { [ comma, semicolon, semicolon, U3D1, 2 ] };
+ key <AB09> { [ period, colon, quotedbl, Greek_theta, 3, Greek_THETA ] };
+ key <AB10> { [ j, J, apostrophe, apostrophe, period ] };
+
+
+
+ key <SPCE> { [ space, space, space, space, 0, space ] };
+
+
+
+ // Keypad
+
+ key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] };
+ key <KPDV> { [ KP_Divide, KP_Divide, division, U2215 ] };
+ key <KPMU> { [ KP_Multiply, KP_Multiply, multiply, U22C5, U2217 ] };
+ key <KPSU> { [ KP_Subtract, KP_Subtract, U2212 ] };
+
+ key <KP7> { [ KP_Home, KP_7, seveneighths, oneeighth ] };
+ key <KP8> { [ KP_Up, KP_8, uparrow, fiveeighths ] };
+ key <KP9> { [ KP_Prior, KP_9, threeeighths, threeeighths ] };
+ key <KPAD> { [ KP_Add, plusminus, plusminus, U2213 ] };
+
+ key <KP4> { [ KP_Left, KP_4, leftarrow, onequarter ] };
+ key <KP5> { [ KP_Begin, KP_5, dagger, onehalf ] };
+ key <KP6> { [ KP_Right, KP_6, rightarrow, threequarters ] };
+
+ key <KP1> { [ KP_End, KP_1, onesuperior, onesuperior ] };
+ key <KP2> { [ KP_Down, KP_2, downarrow, twosuperior ] };
+ key <KP3> { [ KP_Next, KP_3, threesuperior, threesuperior ] };
+ key <KPEN> { [ KP_Enter ] };
+ key <KPEQ> { [ KP_Equal ] };
+
+ key <KP0> { [ KP_Insert, KP_0, percent, U2030 ] };
+ key <KPDL> { [ KP_Delete, KP_Decimal, period, comma ] };
+
+
+
+ // die neuen Mods
+ include "neo(raltgr)"
+ include "neo(rmodv)"
+ include "neo(laltgr)"
+ include "neo(lmodv)"
+
+};
+
+// und die Mod-Definition
+
+partial modifier_keys
+xkb_symbols "rmodv" {
+ key <RALT> {
+ type[Group1]="ONE_LEVEL",
+ symbols[Group1] = [ 0xfe11 ]
+ };
+ modifier_map Mod3 { 0xfe11 };
+};
+
+partial modifier_keys
+xkb_symbols "raltgr" {
+ key <BKSL> {
+ type[Group1]="ONE_LEVEL",
+ symbols[Group1] = [ ISO_Level3_Shift ]
+ };
+};
+
+partial modifier_keys
+xkb_symbols "laltgr" {
+ key <CAPS> {
+ type[Group1]="EIGHT_LEVEL",
+ symbols[Group1] = [ ISO_Level3_Shift, ISO_Level3_Shift, Caps_Lock, Caps_Lock, Caps_Lock, Caps_Lock ]
+ };
+};
+
+partial modifier_keys
+xkb_symbols "lmodv" {
+ key <LSGT> {
+ type[Group1]="ONE_LEVEL",
+ symbols[Group1] = [ 0xfe11 ]
+ };
+ modifier_map Mod3 { 0xfe11 };
+};
+