LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-05-2019, 05:51 AM   #1
rjj
LQ Newbie
 
Registered: Mar 2016
Location: Portugal
Distribution: Slackware64
Posts: 16

Rep: Reputation: Disabled
setxkbmap: error loading new keyboard description


Hi,

The package xkeyboard-config-2.26 on slackware64-current (updated Feb 3) seems to cause setxkbmap to error with
Code:
error loading new keyboard description
This happens at least when setting portuguese layout, for instance with
Code:
setxkbmap pt
The error was not present with the previous 2.25 version, and it also disappears if xkeyboard-config is reverted to version 2.17 (which is used in slackware64-14.2).
 
Old 02-05-2019, 06:50 AM   #2
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware, BSD
Posts: 417

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
Hi. Two bug reports have just been filed today in Arch Linux for xkeyboard-config-2.26:

FS#61634 - xkeyboard-config layout(s) broken after upgrade to 2.26
FS#61635 - pt layout fails to load after xkeyboard-config update to 2.26-1

The second one includes a patch to /etc/X11/xkb/symbols/pt (it removes some back quotes around the key codes). I just applied it and it seems to fix the problem (no error anymore). Could you please try it yourself and see if everything is actually ok?

Last edited by Philip Lacroix; 02-06-2019 at 05:25 AM.
 
Old 02-05-2019, 07:18 AM   #3
rjj
LQ Newbie
 
Registered: Mar 2016
Location: Portugal
Distribution: Slackware64
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Philip Lacroix View Post
Hi. Two bug reports have just been filed today in Arch Linux for xkeyboard-config-2.26:

FS#61634 - xkeyboard-config layout(s) broken after upgrade to 2.26
FS#61635 - pt layout fails to load after xkeyboard-config update to 2.26-1

The second one includes a patch to /etc/X11/xkb/symbols/pt (it removes some single quotes around the key codes). I just applied it and it seems to fix the problem (no error anymore). Could you please try it yourself and see if everything is actually ok?
I've just tested it and everything seems ok (no error, all keys correct and so on).
 
Old 02-05-2019, 07:36 AM   #4
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware, BSD
Posts: 417

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
Excellent. I've reported this thread to Patrick, it might be of some help.

Edit: patch reported to the upstream maintainer as well.

Last edited by Philip Lacroix; 02-05-2019 at 09:21 AM. Reason: upstream
 
Old 02-05-2019, 07:46 AM   #5
rjj
LQ Newbie
 
Registered: Mar 2016
Location: Portugal
Distribution: Slackware64
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Philip Lacroix View Post
Excellent. I've reported this thread to Patrick, it might be of some help.
Thanks for the help and for reporting the issue to Patrick.
 
Old 02-05-2019, 07:58 AM   #6
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware, BSD
Posts: 417

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
You're welcome. I just noticed that the Arch patch "fixes" the ssharp as well (sharp 's', eszett), which doesn't seem to be needed. I left the hex code alone, removing only the back quotes, and I can type the sharp 's' with no issues.

This seems to be enough:

Code:
--- pt.orig	2019-02-03 21:04:07.000000000 +0100
+++ pt.new	2019-02-05 13:38:18.000000000 +0000
@@ -222,34 +222,34 @@
     name[Group1]="Portuguese (Colemak)";
 
-    key `<AD01>`  { [         q,          Q,           at,   Greek_OMEGA ] };
-    key `<AD02>`  { [         w,          W,      lstroke,       Lstroke ] };
-    key `<AD03>`  { [         f,          F,      dstroke,   ordfeminine ] };
-    key `<AD04>`  { [         p,          P,        thorn,         THORN ] };
-    key `<AD05>`  { [         g,          G,          eng,           ENG ] };
-    key `<AD06>`  { [         j,          J,    dead_hook,     dead_horn ] };
-    key `<AD07>`  { [         l,          L,      lstroke,       Lstroke ] };
-    key `<AD08>`  { [         u,          U,    downarrow,       uparrow ] };
-    key `<AD09>`  { [         y,          Y,    leftarrow,           yen ] };
-    key `<AD10>`  { [  ccedilla,   Ccedilla,   dead_acute, dead_doubleacute ] };
+    key <AD01>  { [         q,          Q,           at,   Greek_OMEGA ] };
+    key <AD02>  { [         w,          W,      lstroke,       Lstroke ] };
+    key <AD03>  { [         f,          F,      dstroke,   ordfeminine ] };
+    key <AD04>  { [         p,          P,        thorn,         THORN ] };
+    key <AD05>  { [         g,          G,          eng,           ENG ] };
+    key <AD06>  { [         j,          J,    dead_hook,     dead_horn ] };
+    key <AD07>  { [         l,          L,      lstroke,       Lstroke ] };
+    key <AD08>  { [         u,          U,    downarrow,       uparrow ] };
+    key <AD09>  { [         y,          Y,    leftarrow,           yen ] };
+    key <AD10>  { [  ccedilla,   Ccedilla,   dead_acute, dead_doubleacute ] };
 
-    key `<AC01>`  { [         a,          A,           ae,           AE ] };
-    key `<AC02>`  { [         r,          R,    paragraph,   registered ] };
-    key `<AC03>`  { [         s,          S,       ssharp,      section ] };
-    key `<AC04>`  { [         t,          T,       tslash,       Tslash ] };
-    key `<AC05>`  { [         d,          D,          eth,          ETH ] };
-    key `<AC06>`  { [         h,          H,      hstroke,      Hstroke ] };
-    key `<AC07>`  { [         n,          N,            n,            N ] };
-    key `<AC08>`  { [         e,          E,     EuroSign,         cent ] };
-    key `<AC09>`  { [         i,          I,   rightarrow,     idotless ] };
-    key `<AC10>`  { [         o,          O,       oslash,     Ooblique ] };
+    key <AC01>  { [         a,          A,           ae,           AE ] };
+    key <AC02>  { [         r,          R,    paragraph,   registered ] };
+    key <AC03>  { [         s,          S,       ssharp,      section ] };
+    key <AC04>  { [         t,          T,       tslash,       Tslash ] };
+    key <AC05>  { [         d,          D,          eth,          ETH ] };
+    key <AC06>  { [         h,          H,      hstroke,      Hstroke ] };
+    key <AC07>  { [         n,          N,            n,            N ] };
+    key <AC08>  { [         e,          E,     EuroSign,         cent ] };
+    key <AC09>  { [         i,          I,   rightarrow,     idotless ] };
+    key <AC10>  { [         o,          O,       oslash,     Ooblique ] };
 
-    key `<AB01>`  { [         z,          Z, guillemotleft,        less ] };
-    key `<AB02>`  { [         x,          X, guillemotright,    greater ] };
-    key `<AB03>`  { [         c,          C,         cent,    copyright ] };
-    key `<AB04>`  { [         v,          V, leftdoublequotemark, leftsinglequotemark ]   };
-    key `<AB05>`  { [         b,          B, rightdoublequotemark, rightsinglequotemark ] };
-    key `<AB08>`  { [         k,          K,          kra,    ampersand ] };
-    key `<AB07>`  { [         m,          M,           mu,    masculine ] };
+    key <AB01>  { [         z,          Z, guillemotleft,        less ] };
+    key <AB02>  { [         x,          X, guillemotright,    greater ] };
+    key <AB03>  { [         c,          C,         cent,    copyright ] };
+    key <AB04>  { [         v,          V, leftdoublequotemark, leftsinglequotemark ]   };
+    key <AB05>  { [         b,          B, rightdoublequotemark, rightsinglequotemark ] };
+    key <AB08>  { [         k,          K,          kra,    ampersand ] };
+    key <AB07>  { [         m,          M,           mu,    masculine ] };
 
-    key `<CAPS>` { [    BackSpace,    BackSpace,       BackSpace,        BackSpace ] };
+    key <CAPS>  { [    BackSpace,    BackSpace,       BackSpace,        BackSpace ] };
 };
Edit: reported to upstream maintainer as well.

Last edited by Philip Lacroix; 02-06-2019 at 05:22 AM.
 
Old 02-06-2019, 05:16 AM   #7
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware, BSD
Posts: 417

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
Here is the culprit:

Adding PT version of Colemak layout (commit 9fe49eee)

A bug report is open:

Error loading symbols/pt
 
Old 02-06-2019, 05:26 AM   #8
rjj
LQ Newbie
 
Registered: Mar 2016
Location: Portugal
Distribution: Slackware64
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Philip Lacroix View Post
Here is the culprit:

Adding PT version of Colemak layout (commit 9fe49eee)

A bug report is open:

Error loading symbols/pt
I've also informed them of the unnecessary eszett change.
 
Old 02-06-2019, 05:29 AM   #9
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware, BSD
Posts: 417

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
The eszett change was actually introduced by the author of the patch proposed on the Arch website: it is not part of the upstream commit.
 
Old 02-06-2019, 05:38 AM   #10
rjj
LQ Newbie
 
Registered: Mar 2016
Location: Portugal
Distribution: Slackware64
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Philip Lacroix View Post
The eszett change was actually introduced by the author of the patch proposed on the Arch website: it is not part of the upstream commit.
I know, I meant I informed them the patch includes this modification which seems to be unnecessary.
 
Old 02-06-2019, 05:38 AM   #11
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware, BSD
Posts: 417

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
Thanks!
 
Old 02-07-2019, 03:53 PM   #12
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware, BSD
Posts: 417

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
Arrow Bug fixed upstream

The bug was fixed upstream a few minutes ago:

Fixed broken pt layout (commit af6c0f29)

Last edited by Philip Lacroix; 02-07-2019 at 04:04 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
set keyboard layout with setxkbmap xeon123 Linux - General 0 02-26-2014 09:44 PM
defining own keyboard models for setxkbmap/KDE. estellnb Linux - General 3 12-18-2009 05:43 AM
setxkbmap to change the keyboard im_reev Programming 1 06-22-2009 03:07 AM
setxkbmap - Error loading new keyboard description Jaa Debian 1 09-08-2006 12:29 PM
Error loading new keyboard description firsara Debian 2 02-17-2006 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration