installation on Kubuntu or ubuntu

User avatar
admin
Site Admin
Posts: 49
Joined: Sun May 20, 2007 6:47 pm

installation on Kubuntu or ubuntu

Unread post by admin »

The easiest way to install ENTI-key++ on Ubuntu is to download this debian Packet:
entikey-1.0_i386.deb
(works for 32bit and 64bit)
and open it with gdebi-installer

There are three alternative steps te get ENTI-key++ on Kubuntu or ubuntu running:

(ev. you have to install the packet xkeyboard-config, but not sure.)

1.
skip this step 1 if you have updated all packages in kubuntu or ubuntu 8.4.01 (see this topics later post)

edit the file
/usr/share/X11/xkb/symbols/de
(if you have kubuntu or ubuntu 8.4.01 or greater, do this instead: viewtopic.php?f=2&t=17&p=66#p66 )

and add:

Code: Select all

// ENTIKEY++
// adopted 2007 by Ruben Barkow <entikey@spacetrace.org>

...

~EDIT~

take the code from okurz further down:
http://entikey.z11.de/phpBB3/viewtopic.php?p=135#p135


2.
in
/usr/share/X11/xkb/rules/base.xml

add an entikey-section right underneath the section for the NEO-Layout:

Code: Select all

 <variant>
          <configItem>
            <name>neo</name>
....
          </configItem>
        </variant>


Code: Select all

<variant>
          <configItem>
            <name>entikey</name>
            <description>Entikey++</description>
            <description xml:lang="es">Entikey++</description>
            <description xml:lang="fr">Entikey++</description>
            <description xml:lang="hu">Entikey++</description>
            <description xml:lang="ka">Entikey++</description>
            <description xml:lang="sl">Entikey++</description>
            <description xml:lang="tr">Entikey++</description>
          </configItem>
        </variant>
       


3.
in
/usr/share/X11/xkb/symbols.dir

add this line underneath the line for NEO:

Code: Select all

--p----- a------- de(entikey)


Now you have the new entikey as variant in the german keyboardlayout in KDE-Systempreferences->regional -> keyboardlayout

now finally to make caps lock an additional Alt_Gr:

in ~/.Xmodmap

Code: Select all

!! Make caps lock an additional Alt_Gr
remove Lock = Caps_Lock
keysym Caps_Lock = ISO_Level3_Shift

it should load when x starts, but you can manually start it with:

Code: Select all

xmodmap ~/.Xmodmap

see
http://www.eigenheimstrasse.de:8668/comments/Computerecke/NEO-Tastaturlayout/Verbesserungsvorschl%C3%A4ge/CapsLock+durch+AltGr+ersetzen

0.0
Posts: 5
Joined: Sun May 04, 2008 7:28 pm

Re: installation on Kubuntu

Unread post by 0.0 »

Works with Ubuntu hardy 8.04.
Doesn't work with Debian testing.

I recommend using

Code: Select all

<variant>
          <configItem>
            <name>entikey</name>
            <description>Entikey++</description>
            </configItem>
        </variant>

in base.xml

I was very confused because changing the layout with setxkbmap didn't work properly. Deleting those six lines finally made me happy.

User avatar
admin
Site Admin
Posts: 49
Joined: Sun May 20, 2007 6:47 pm

Re: installation on Kubuntu

Unread post by admin »

On Kubuntu 8.10 there must be edited these 3 files (An entikey-section accordingly to the neo-sections):
/usr/share/X11/xkb/rules/evdev.lst: entikey de: ENTIkey++
/usr/share/X11/xkb/rules/base.lst: entikey de: ENTIkey++
/usr/share/X11/xkb/rules/evdev.xml: <name>entikey</name>

User avatar
admin
Site Admin
Posts: 49
Joined: Sun May 20, 2007 6:47 pm

Re: installation on Kubuntu

Unread post by admin »

on Kubuntu 9.04 there was another update,

like in 8.10 simply the same steps must be done again: just add a section for entikey in all 3 files again
and in
/usr/share/X11/xkb/symbols/de
and add the entikey block at the end again.

okurz
Posts: 4
Joined: Fri Jul 31, 2009 10:29 am

Installation using XKB

Unread post by okurz »

Hi,
I found the definitions for acute/grave to be differing when looking at the picture of the layout and the XKB definition file. What works for me is using the following two lines instead of what was stated above:

Code: Select all

     key <AE12> { [      exclam, exclamdown,     dead_acute, guillemotright      ] };

and also

Code: Select all

    key <AC05> { [      c, C,                   semicolon, dead_acute           ] };
[...]
    key <AB02> { [      t, T,                   equal, dead_grave               ] };


I am not sure, if this is right, but that is what I can understand from the picture.

For replacing the caps lock key, I used

Code: Select all

    key <CAPS> { [ ISO_Level3_Shift, ISO_Level3_Shift,  Caps_Lock ] };
.
For that, the whole ENTI-key++ section should define

Code: Select all

partial alphanumeric_keys modifier_keys
instead of only

Code: Select all

partial alphanumeric_keys

User avatar
admin
Site Admin
Posts: 49
Joined: Sun May 20, 2007 6:47 pm

Re: Installation using XKB

Unread post by admin »

thanks for the correction with the accents, Oliver.

okurz wrote:or replacing the caps lock key, I used

Code: Select all

key <CAPS> { [ ISO_Level3_Shift, ISO_Level3_Shift,  Caps_Lock ] };

this solution makes the 'caps lock' function still availiable with right-alt-gr and caps-lock pressed.

i like more the solution with the .xmodmap file, cause that solution also changes the caps key in the standard layout:
in ~/.Xmodmap

Code: Select all

!! Make caps lock an additional Alt_Gr
remove Lock = Caps_Lock
keysym Caps_Lock = ISO_Level3_Shift


it should load when x starts, but you can manually start it with:

Code: Select all

xmodmap ~/.Xmodmap


since there is a final version with some minor changes, here is the complete section for
/usr/share/X11/xkb/symbols/de
is:

Code: Select all

// ENTIKEY++
// adopted 2007 by Ruben Barkow <entikey@spacetrace.org>
// inspired by Dvorak, de-ergo, Colemak and Neo

partial alphanumeric_keys modifier_keys
xkb_symbols "entikey" {

    include "de"
    name[Group1]= "Germany - Entikey++";

    key <TLDE> { [      q, Q,                   7, asciicircum                  ] };
    key <AE01> { [      p, P,                   8, exclam                       ] };
    key <AE02> { [      f, F,                   9, quotedbl                     ] };
    key <AE03> { [      m, M,                   0, backslash                    ] };
    key <AE04> { [      u, U,                   1, percent                      ] };
    key <AE05> { [      k, K,                   2, onehalf                      ] };
    key <AE06> { [      y, Y,                   3, threesuperior                ] };
    key <AE07> { [      dollar, asciitilde,     4, onequarter                   ] };
    key <AE08> { [      slash, EuroSign,        eurosign, onethird              ] };
    key <AE09> { [      plus, ampersand,     dead_caron,    plusminus           ] };
    key <AE10> { [      asterisk, section,      currency, multiply              ] };
    key <AE11> { [      dead_diaeresis, ssharp, guillemotleft, sterling         ] };
    key <AE12> { [      exclam,     dead_acute, guillemotright, exclamdown      ] };

    key <AD01> { [      w, W,                   at, apostrophe                  ] };
    key <AD02> { [      i, I,                   bracketleft, plus               ] };
    key <AD03> { [      r, R,                   bracketright, asterisk          ] };
    key <AD04> { [      h, H,                   parenleft, numbersign           ] };
    key <AD05> { [      l, L,                   parenright, EuroSign            ] };
    key <AD06> { [      z, Z,                   5, twothirds                    ] };
    key <AD07> { [      parenleft, braceleft,   dead_cedilla, cent              ] };
    key <AD08> { [      parenright, braceright, Up, R                           ] };
    key <AD09> { [      equal, percent,         Prior, percent                  ] };
    key <AD10> { [      bracketleft, bar,       Delete, brokenbar               ] };
    key <AD11> { [      greater, dead_grave,    copyright, guillemotsingleright ] };
    key <AD12> { [      less, dead_circumflex,  dead_tilde, guillemotsingleleft ] };

    key <AC01> { [      a, A,                   question, ssharp                ] };
    key <AC02> { [      s, S,                   period, ampersand               ] };
    key <AC03> { [      d, D,                   Return, colon                   ] };
    key <AC04> { [      o, O,                   BackSpace, dead_diaeresis       ] };
    key <AC05> { [      c, C,                   semicolon, dead_acute           ] };
    key <AC06> { [      g, G,                   6, trademark                    ] };
    key <AC07> { [      e, E,                   Left, ae                        ] };
    key <AC08> { [      n, N,                   Down,   registered              ] };
    key <AC09> { [      t, T,                   Right,  rightarrow              ] };
    key <AC10> { [      i, I,                   oslash, Oslash                  ] };
    key <AC11> { [      bracketright, question, questiondown, rightdblarrow     ] };
    key <BKSL> { [      apostrophe, numbersign, dead_abovering,  dead_grave     ] };



    key <LSGT> { [      x, X,                   bar, comma                      ] };
    key <AB01> { [      v, V,                   greater, less                   ] };
    key <AB02> { [      t, T,                   equal, dead_acute               ] };
    key <AB03> { [      n, N,                   underscore, dead_tilde          ] };
    key <AB04> { [      e, E,                   minus, twosuperior              ] };
    key <AB05> { [      b, B,                   braceleft, infinity             ] };
    key <AB06> { [      j, J,                   braceright, yen                 ] };
    key <AB07> { [      quotedbl, backslash,    Home, mu                        ] };
    key <AB08> { [      comma,  semicolon,      End, minus                      ] };
    key <AB09> { [      period, colon,          Next, periodcentered            ] };
    key <AB10> { [      minus, underscore,      minus, underscore               ] };


    key <SPCE> { [    space,   space, nobreakspace, nobreakspace ] };


    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  <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, degree         ]   };
    key <KPDL> {     [  KP_Delete,   KP_Decimal, periodcentered, comma  ]   };
    // End "Keypad" section

    include "level3(ralt_switch)"

    // Modifier section
    // uncomment this line, if you don't want to use xmodmap to remap the Caps Lock Key:
    // key <CAPS> { [ ISO_Level3_Shift, ISO_Level3_Shift,  Caps_Lock ] };

    key  <TAB> { [ Tab, ISO_Left_Tab, KP_Delete, slash ] };

};

Post Reply