You are not logged in.

#1 2017-12-06 15:10:43

lmnsqshr
Member
From: Germany
Registered: 2013-10-21
Posts: 20

Neo Keyboard Layout is stuck at level 3

Hi guys,

I had a problem regarding the keyboard layout being stuck in the 3rd layer with the german neo2 keyboard layout in KDE but also in archlinux in general when switching to the layout with `setxkbmap de neo`. Whenever I started typing, the keys from the 3rd layer were applied without me pressing any mod-keys.
I could switch to the layers above but I couldn't type "normal" letters, only special characters.

I looked into this issue again and found this layout in the Debian package Repository: https://www.apt-browse.org/browse/debia … symbols/de

It differs with the one, Arch is shipped with. For the differences, please have a look at the code at the bottom of this post.

So my questions are: Why is Arch shipped with a "broken" german keyboard layout for the neo variant? Is it broken? Or is it supposed to be this way? If so, how can I type normal characters with the neo keyboard layout? Can someone acknowledge this .. kind of bug?

I solved this issue by updating my /usr/share/X11/symbols/de with the one I found in the Debian package I referenced earlier.

The package xkeyboard-config contains the file /usr/share/X11/symbols/de and the installed version on my system is 2.22-1

Here's the diff:

--- <from_remote>
+++ <arch_layout>
@@ -250,7 +250,7 @@
 
     // Alphanumeric-keys
     // ===============
-    key.type[Group1] = "EIGHT_LEVEL";
+    key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK";
 
     // Tab as Multi_key (Compose)
     // --------------------------------------------------------------
@@ -278,7 +278,7 @@
 
     // Top row
     // --------------------------------------------------------------
-    key.type[Group1] = "EIGHT_LEVEL_SEMIALPHABETIC";
+    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK";
     key <AD01> { [ x,                       X,                       ellipsis,                Greek_xi,                Prior,                   Prior,                   Greek_XI,                NoSymbol                 ] };
     key <AD02> { [ v,                       V,                       underscore,              NoSymbol,                BackSpace,               BackSpace,               radical,                 NoSymbol                 ] };
     key <AD03> { [ l,                       L,                       bracketleft,             Greek_lambda,            Up,                      Up,                      Greek_LAMBDA,            NoSymbol                 ] };
@@ -293,12 +293,12 @@
 
     key <AD11> { [ ssharp,                  U1E9E,                   U017F,                   Greek_finalsmallsigma,   U2212,                   NoSymbol,                jot,                     NoSymbol                 ] };
 
-    key.type[Group1] = "EIGHT_LEVEL";
+    key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK";
     key <AD12> { [ dead_acute,              dead_tilde,              dead_stroke,             dead_psili,              dead_doubleacute,        NoSymbol,                dead_breve,              NoSymbol                 ] };
 
     // Middle row
     // --------------------------------------------------------------
-    key.type[Group1] = "EIGHT_LEVEL_SEMIALPHABETIC";
+    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK";
     key <AC01> { [ u,                       U,                       backslash,               NoSymbol,                Home,                    Home,                    includedin,              NoSymbol                 ] };
     key <AC02> { [ i,                       I,                       slash,                   Greek_iota,              Left,                    Left,                    integral,                NoSymbol                 ] };
     key <AC03> { [ a,                       A,                       braceleft,               Greek_alpha,             Down,                    Down,                    U2200,                   NoSymbol                 ] };
@@ -319,16 +319,16 @@
     key <AB02> { [ odiaeresis,              Odiaeresis,              dollar,                  U03F5,                   Tab,                     Tab,                     intersection,            NoSymbol                 ] };
     key <AB03> { [ adiaeresis,              Adiaeresis,              bar,                     Greek_eta,               Insert,                  Insert,                  U2135,                   NoSymbol                 ] };
     key <AB04> { [ p,                       P,                       asciitilde,              Greek_pi,                Return,                  Return,                  Greek_PI,                NoSymbol                 ] };
-    key <AB05> { [ z,                       Z,                       grave,                   Greek_zeta,              Undo,                    Undo,                    U2124,                   NoSymbol                 ] };
+    key <AB05> { [ z,                       Z,                       grave,                   Greek_zeta,              Undo,                    Redo,                    U2124,                   NoSymbol                 ] };
 
     key <AB06> { [ b,                       B,                       plus,                    Greek_beta,              colon,                   NoSymbol,                U21D0,                   NoSymbol                 ] };
     key <AB07> { [ m,                       M,                       percent,                 Greek_mu,                KP_1,                    KP_1,                    ifonlyif,                NoSymbol                 ] };
-    key.type[Group1] = "EIGHT_LEVEL";
+    key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK";
     key <AB08> { [ comma,                   endash,                  quotedbl,                U03F1,                   KP_2,                    KP_2,                    U21D2,                   NoSymbol                 ] };
     key <AB09> { [ period,                  enfilledcircbullet,      apostrophe,              U03D1,                   KP_3,                    KP_3,                    U21A6,                   NoSymbol                 ] };
-    key.type[Group1] = "EIGHT_LEVEL_SEMIALPHABETIC";
+    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK";
     key <AB10> { [ j,                       J,                       semicolon,               Greek_theta,             semicolon,               NoSymbol,                Greek_THETA,             NoSymbol                 ] };
-    key.type[Group1] = "EIGHT_LEVEL";
+    key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK";
 
     // Space key
     // --------------------------------------------------------------
@@ -344,7 +344,7 @@
     // Topmost row
     // --------------------------------------------------------------
     key <KPDV> { [ KP_Divide,               KP_Divide,               division,                U2300,                   U2215,                   NoSymbol,                U2223,                   NoSymbol                 ] };
-    key <KPMU> { [ KP_Multiply,             KP_Multiply,             U2219,                   U2299,                   multiply,                NoSymbol,                U2297,                   NoSymbol                 ] };
+    key <KPMU> { [ KP_Multiply,             KP_Multiply,             U22C5,                   U2299,                   multiply,                NoSymbol,                U2297,                   NoSymbol                 ] };
     key <KPSU> { [ KP_Subtract,             KP_Subtract,             U2212,                   U2296,                   U2216,                   NoSymbol,                U2238,                   NoSymbol                 ] };
 
     // Top row
@@ -384,8 +384,8 @@
     include "shift(both_capslock)"
     include "level3(caps_switch)"
     include "level3(bksl_switch)"
-    include "level5(lsgt_switch)"
-    include "level5(ralt_switch)"
+    include "level5(lsgt_switch_lock)"
+    include "level5(ralt_switch_lock)"
 };
 
 // Copied from macintosh_vndr/de
@@ -625,4 +625,3 @@
     
     
 };
-APT Browse - Built by Thomas Orozco - Hosting provided by Aptible.

Thanks,
lmnsqshr

Offline

#2 2017-12-06 22:14:17

seth
Member
Registered: 2012-09-03
Posts: 59,771

Re: Neo Keyboard Layout is stuck at level 3

I don't think that diff explains some locked layer.
Since wikipedia says layer 3 is reached by caps lock + # i'd rather bet on further keyboard settings that mess around with caps lock?

Offline

#3 2017-12-07 15:52:34

lmnsqshr
Member
From: Germany
Registered: 2013-10-21
Posts: 20

Re: Neo Keyboard Layout is stuck at level 3

Hi seth, thanks for your reply.

I don't remember messing with keyboard settings. I have set up custom global hotkeys but I can't imagine that they interfere with the keyboard layout.

When the locked level issue was present, I tried reaching the lower levels by pressing different keys (CapsLock, Mod, etc) but I could only reach the upper levels.

However, this is solved but it still would be cool to know what the issue was.

Offline

Board footer

Powered by FluxBB