From a5bc759afcf658c0c134a179c6c5a7ee989e113b Mon Sep 17 00:00:00 2001 From: lucky Date: Tue, 1 May 2007 21:12:57 +0000 Subject: added xkbmap git-svn-id: https://svn.neo-layout.org@84 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- linux/X/README | 26 ++++++++++ linux/X/TODO | 35 ++++++++++++++ linux/X/neo | 146 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 207 insertions(+) create mode 100644 linux/X/README create mode 100644 linux/X/TODO create mode 100644 linux/X/neo (limited to 'linux') 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 { [ dead_circumflex, dead_caron, dead_breve, paragraph, dead_stroke ] }; + + key { [ 1, degree, notsign, onesuperior ] }; + key { [ 2, 2, asciicircum, twosuperior ] }; + key { [ 3, section, 3, threesuperior ] }; + key { [ 4, dollar, yen, cent, Prior, Prior ] }; + key { [ 5, EuroSign, sterling, currency ] }; + key { [ 6, ordfeminine, ae, AE ] }; + key { [ 7, masculine, oe, OE ] }; + key { [ 8, doublelowquotemark, singlelowquotemark, guillemotright, slash ] }; + key { [ 9, leftdoublequotemark, leftsinglequotemark, guillemotleft, asterisk] }; + key { [ 0, rightdoublequotemark, rightsinglequotemark, U203A, minus ] }; + key { [ minus, U2013, U2014, U2039 ] }; + key { [ dead_acute, dead_grave, dead_cedilla, dead_ogonek, dead_abovedot, dead_abovering ] }; + + + // obere Reihe + key { [ x, X, at, Greek_xi, Escape, Greek_XI ] }; + key { [ v, V, underscore, underscore, BackSpace ] }; + key { [ l, L, bracketleft, Greek_lambda, Up, Up ] }; + key { [ c, C, bracketright, Greek_chi, ccedilla, copyright ] }; + key { [ w, W, asciitilde, asciitilde, Insert ] }; + key { [ k, K, exclam, Greek_kappa, exclamdown ] }; + key { [ h, H, less, Greek_psi, 7, Greek_PSI ] }; + key { [ g, G, greater, Greek_gamma, 8, Greek_GAMMA ] }; + key { [ f, F, equal, Greek_phi, 9, Greek_PHI ] }; + key { [ q, Q, ampersand, ampersand, plus ] }; + key { [ ssharp, minus, U133, U132, schwa, SCHWA ] }; + key { [ dead_tilde, dead_macron, dead_diaeresis, dead_doubleacute, dead_belowdot, dead_belowdot ] }; + + + // mittlere Reihe + key { [ u, U, backslash, backslash, Home, Home ] }; + key { [ i, I, slash, Greek_iota, Left, Left ] }; + key { [ a, A, braceleft, Greek_alpha, Down, Down ] }; + key { [ e, E, braceright, Greek_epsilon, Right, Right ] }; + key { [ o, O, asterisk, Greek_omega, End, End ] }; + key { [ s, S, question, Greek_sigma, questiondown, Greek_SIGMA ] }; + key { [ n, N, parenleft, Greek_nu, 4, U2116 ] }; + key { [ r, R, parenright, Greek_rho, 5, registered ] }; + key { [ t, T, minus, Greek_tau, 6, trademark ] }; + key { [ d, D, colon, Greek_delta, comma, Greek_DELTA ] }; + key { [ y, Y, y, Greek_upsilon, thorn, THORN ] }; + + + // untere Reihe + key { [ odiaeresis, Odiaeresis, asciicircum, asciicircum, Tab, Tab ] }; + key { [ udiaeresis, Udiaeresis, dollar, Udiaeresis, Delete ] }; + key { [ adiaeresis, Adiaeresis, bar, Greek_eta, Next, Next ] }; + key { [ p, P, numbersign, Greek_pi, p, Greek_PI ] }; + key { [ z, Z, grave, Greek_zeta, z, Greek_ZETA ] }; + key { [ b, B, plus, Greek_beta, plusminus, Greek_Beta ] }; + key { [ m, M, percent, mu, 1 ] }; + key { [ comma, semicolon, semicolon, U3D1, 2 ] }; + key { [ period, colon, quotedbl, Greek_theta, 3, Greek_THETA ] }; + key { [ j, J, apostrophe, apostrophe, period ] }; + + + + key { [ space, space, space, space, 0, space ] }; + + + + // Keypad + + key { [ Num_Lock, Pointer_EnableKeys ] }; + key { [ KP_Divide, KP_Divide, division, U2215 ] }; + key { [ KP_Multiply, KP_Multiply, multiply, U22C5, U2217 ] }; + key { [ KP_Subtract, KP_Subtract, U2212 ] }; + + key { [ KP_Home, KP_7, seveneighths, oneeighth ] }; + key { [ KP_Up, KP_8, uparrow, fiveeighths ] }; + key { [ KP_Prior, KP_9, threeeighths, threeeighths ] }; + key { [ KP_Add, plusminus, plusminus, U2213 ] }; + + key { [ KP_Left, KP_4, leftarrow, onequarter ] }; + key { [ KP_Begin, KP_5, dagger, onehalf ] }; + key { [ KP_Right, KP_6, rightarrow, threequarters ] }; + + key { [ KP_End, KP_1, onesuperior, onesuperior ] }; + key { [ KP_Down, KP_2, downarrow, twosuperior ] }; + key { [ KP_Next, KP_3, threesuperior, threesuperior ] }; + key { [ KP_Enter ] }; + key { [ KP_Equal ] }; + + key { [ KP_Insert, KP_0, percent, U2030 ] }; + key { [ 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 { + type[Group1]="ONE_LEVEL", + symbols[Group1] = [ 0xfe11 ] + }; + modifier_map Mod3 { 0xfe11 }; +}; + +partial modifier_keys +xkb_symbols "raltgr" { + key { + type[Group1]="ONE_LEVEL", + symbols[Group1] = [ ISO_Level3_Shift ] + }; +}; + +partial modifier_keys +xkb_symbols "laltgr" { + key { + 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 { + type[Group1]="ONE_LEVEL", + symbols[Group1] = [ 0xfe11 ] + }; + modifier_map Mod3 { 0xfe11 }; +}; + -- cgit v1.2.3