You are not logged in.

#1 2004-09-28 17:54:02

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Setxkbmap no gives: Error loading new keyb.

I had this problem a while ago. I run pacman -Suy and updated everything. That fixed the problem. But a few days ago when i updated again, the problem came back. I'm not quite sure what was updated, but I did a -Suy. Running x.org.

Anyone have any idea what the problem might be?


Ørjan Pettersen

Offline

#2 2004-09-29 10:47:06

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: Setxkbmap no gives: Error loading new keyb.

For my root user it works just fine.

The option -v 10 gives the following

[orjanp@ArchThinkpad ~]$ setxkbmap -v 10 no
Setting verbose level to 10
locale is C
Warning! Multiple definitions of keyboard layout
         Using command line, ignoring X server
Applied rules from xorg:
model:      pc101
layout:     no
Trying to build keymap using the following components:
keycodes:   xfree86+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc/pc(pc101)+pc/no
geometry:   pc(pc101)
Error loading new keyboard description

Anyone that can point me in the correct direction?


Ørjan Pettersen

Offline

#3 2004-09-29 16:52:55

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Setxkbmap no gives: Error loading new keyb.

driver should be "kbd" in xorg.conf


arch + gentoo + initng + python = enlisy

Offline

#4 2004-09-29 17:20:24

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: Setxkbmap no gives: Error loading new keyb.

It is.

This is my keyboard section in xorg.conf

Section "InputDevice"

        Identifier      "Keyboard1"
        Driver          "kbd"
        Option "AutoRepeat" "500 30"
        Option "XkbRules"   "xorg"
        Option "XkbModel"   "pc101"
        Option "XkbLayout"  "us"

EndSection

If the problem was a global config file, the problem would appear both at root and user, wouldn't it? Now, its only the user that have this problem, not root.
Ill try to make a new user and see what happens.
EDIT: Didn't work with the new user either. Same error.


Ørjan Pettersen

Offline

#5 2004-09-29 19:01:34

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Setxkbmap no gives: Error loading new keyb.

then I don't know,
it says layout "no" but your xorg,conf says "us"???


arch + gentoo + initng + python = enlisy

Offline

#6 2004-09-29 19:21:25

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: Setxkbmap no gives: Error loading new keyb.

Yes, beacuse I'm trying to change the keyboard layout to norwegian. I use two keyboard layouts.


Ørjan Pettersen

Offline

#7 2004-09-29 19:31:38

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Setxkbmap no gives: Error loading new keyb.

ok,
you could go to gentoos forum,
I think they got a scandinavian part of it,
http://forums.gentoo.org


arch + gentoo + initng + python = enlisy

Offline

#8 2004-09-29 19:39:11

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: Setxkbmap no gives: Error loading new keyb.

It's a different output between root and user when i use the -v 10 line.

root:

[root@ArchThinkpad ~]# setxkbmap -v 10 no
Setting verbose level to 10
locale is C
Warning! Multiple definitions of keyboard layout
         Using command line, ignoring X server
Applied rules from xorg:
model:      pc104
layout:     no
Trying to build keymap using the following components:
keycodes:   xfree86+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc/pc(pc104)+pc/no
geometry:   pc(pc104)

user:

[orjanp@ArchThinkpad ~]$ setxkbmap -v 10 no 
Setting verbose level to 10 
locale is C 
Warning! Multiple definitions of keyboard layout 
         Using command line, ignoring X server 
Applied rules from xorg: 
model:      pc101 
layout:     no 
Trying to build keymap using the following components: 
keycodes:   xfree86+aliases(qwerty) 
types:      complete 
compat:     complete 
symbols:    pc/pc(pc101)+pc/no 
geometry:   pc(pc101) 
Error loading new keyboard description

root is using the pc104 model, user has pc101 model.

Where does setxkbmap get these values from? Why are they different?
I'll check out the gento forum. Thanks...

Orjanp


Ørjan Pettersen

Offline

#9 2004-10-01 08:49:35

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: Setxkbmap no gives: Error loading new keyb.

The solution i went for was to install Arch all over again. Not the preffered solution, but it did work.


Ørjan Pettersen

Offline

#10 2005-01-11 07:58:38

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: Setxkbmap no gives: Error loading new keyb.

It's back again.

I did a major update yesterday, and setxkbmap gives again the error message. And again, only as user, not root. This time, a reinstall is not a solution.

Is this a permission problem maybe?

As before, my machine boots with us keymap. But I would like to be able change it to norwegian when I need to. So thats why I use setxkbmap.


Ørjan Pettersen

Offline

#11 2005-03-20 18:41:33

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: Setxkbmap no gives: Error loading new keyb.

Now, this is getting annoying. This is the fourth time it's back.

When I'm starting X I get the following output:

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:          bad length in CompatMap
>                 Output file "/var/tmp/server-0.xkm" removed
Errors from xkbcomp are not fatal to the X server
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap

And again, it's only affecting users and not root. Have been searching around for some time without luck.

Any ideas?

This is what my xorg.conf says:

Section "InputDevice"

   Identifier "Keyboard1"
   Driver "kbd"
   Option "AutoRepeat" "500 30"
   Option "XkbRules" "xorg"
   Option "XkbModel" "pc101"
   Option "XkbLayout" "us"

EndSection

It came after the following upgrade

[03/17/05 09:26] upgraded arts (1.3.2-1 -> 1.4.0-4)
[03/17/05 09:26] upgraded atk (1.9.0-1 -> 1.9.1-1)
[03/17/05 09:26] upgraded db (4.2.52.2-2 -> 4.3.27-2)
[03/17/05 09:26] upgraded evolution (2.0.3-2 -> 2.2.0-1)
[03/17/05 09:26] upgraded evolution-data-server (1.0.3-2 -> 1.2.0-1)
[03/17/05 09:26] upgraded gal (2.2.4-1 -> 2.4.0-1)
[03/17/05 09:26] upgraded gconf (2.8.1-1 -> 2.10.0-1)
[03/17/05 09:26] upgraded gecko-sharp (0.6-2 -> 0.6-3)
[03/17/05 09:26] upgraded gnome-common (2.8.0-8 -> 2.8.0-9)
[03/17/05 09:26] upgraded gnome-keyring (0.4.1-1 -> 0.4.2-1)
[03/17/05 09:26] upgraded gnome-vfs (2.8.3-4 -> 2.10.0-1)
[03/17/05 09:26] upgraded gthumb (2.6.3-1 -> 2.6.4-2)
[03/17/05 09:26] upgraded gtkhtml (3.2.4-1 -> 3.6.0-1)
[03/17/05 09:26] upgraded gtk-sharp (1.0.6-1 -> 1.0.8-1)
[03/17/05 09:26] upgraded gtksourceview (1.1.1-1 -> 1.2.0-1)
[03/17/05 09:26] upgraded heimdal (0.6.3-2 -> 0.6.3-3)
[03/17/05 09:26] upgraded k3b (0.11.20-1 -> 0.11.21-1)
[03/17/05 09:26] installed jasper (1.701.0-1)
[03/17/05 09:26] warning: /opt/kde/share/config/kdm/kdmrc saved as /opt/kde/share/config/kdm/kdmrc.pacorig
[03/17/05 09:26] warning: /opt/kde/share/config/kdm/backgroundrc saved as /opt/kde/share/config/kdm/backgroundrc.pacorig
[03/17/05 09:26] installed kde-common (3.4.0-6)
[03/17/05 09:27] upgraded kdelibs (3.3.2-5 -> 3.4.0-5)
[03/17/05 09:27] installed gstreamer (0.8.9-1)
[03/17/05 09:27] upgraded kdeaccessibility (3.3.2-1 -> 3.4.0-4)
[03/17/05 09:27] installed cyrus-sasl (2.1.20-2)
[03/17/05 09:27] installed sysfsutils (1.2.0-1)
[03/17/05 09:27] installed pmount (0.6-1)
[03/17/05 09:27] upgraded kdebase (3.3.2-4 -> 3.4.0-5)
[03/17/05 09:27] upgraded kdepim (3.3.2-2 -> 3.4.0-5)
[03/17/05 09:27] installed gst-plugins (0.8.8-1)
[03/17/05 09:27] upgraded kdemultimedia (3.3.2-1 -> 3.4.0-4)
[03/17/05 09:27] upgraded kdegames (3.3.2-1 -> 3.4.0-4)
[03/17/05 09:27] upgraded kdeaddons (3.3.2-3 -> 3.4.0-5)
[03/17/05 09:27] upgraded kdeadmin (3.3.2-1 -> 3.4.0-5)
[03/17/05 09:28] upgraded kdeartwork (3.3.2-1 -> 3.4.0-4)
[03/17/05 09:28] upgraded kdebindings (3.3.2-3 -> 3.4.0-5)
[03/17/05 09:28] upgraded kdeedu (3.3.2-1 -> 3.4.0-4)
[03/17/05 09:28] upgraded kdegraphics (3.3.2-3 -> 3.4.0-4)
[03/17/05 09:28] installed qca (1.0-1)
[03/17/05 09:28] installed qca-tls (1.0-1)
[03/17/05 09:28] installed perl-net-ssleay (1.25-1)
[03/17/05 09:28] installed perl-io-socket-ssl (0.95-1)
[03/17/05 09:28] upgraded kdenetwork (3.3.2-1 -> 3.4.0-5)
[03/17/05 09:28] upgraded kdesdk (3.3.2-2 -> 3.4.0-5)
[03/17/05 09:28] upgraded kdetoys (3.3.2-1 -> 3.4.0-4)
[03/17/05 09:28] installed net-snmp (5.2.1-1)
[03/17/05 09:28] installed dosfstools (2.10-1)
[03/17/05 09:28] upgraded kdeutils (3.3.2-1 -> 3.4.0-5)
[03/17/05 09:29] upgraded kernel26 (2.6.10-3 -> 2.6.11.3-1)
[03/17/05 09:29] upgraded libbonoboui (2.8.1-1 -> 2.8.1-2)
[03/17/05 09:29] upgraded libgda (1.2.0-1 -> 1.2.0-2)
[03/17/05 09:29] upgraded libgnome (2.8.0-1 -> 2.10.0-1)
[03/17/05 09:29] upgraded libgnomecanvas (2.8.0-1 -> 2.10.0-1)
[03/17/05 09:29] upgraded libgnomeprint (2.8.2-1 -> 2.10.1-1)
[03/17/05 09:29] upgraded libgnomeprintui (2.8.2-1 -> 2.10.1-1)
[03/17/05 09:29] upgraded libgnomeui (2.8.0-2 -> 2.10.0-1)
[03/17/05 09:29] upgraded librsvg (2.8.1-3 -> 2.9.5-1)
[03/17/05 09:29] upgraded liferea (0.9.0b-2 -> 0.9.1-1)
[03/17/05 09:29] upgraded openldap (2.2.23-1 -> 2.2.23-2)
[03/17/05 09:29] upgraded pam (0.78-3 -> 0.78-4)
[03/17/05 09:29] upgraded pango (1.8.0-1 -> 1.8.1-1)
[03/17/05 09:29] upgraded perl (5.8.6-1 -> 5.8.6-2)
[03/17/05 09:29] upgraded python (2.4-2 -> 2.4-3)
[03/17/05 09:30] upgraded qt (3.3.4-3 -> 3.3.4-5)
[03/17/05 09:30] upgraded ruby (1.8.2-3 -> 1.8.2-4)
[03/17/05 09:30] upgraded startup-notification (0.7-1 -> 0.8-1)
[03/17/05 15:37] synchronizing package lists
[03/17/05 15:38] starting full system upgrade
[03/17/05 15:38] upgraded gal (2.4.0-1 -> 2.4.1-1)
[03/17/05 15:38] upgraded gtkhtml (3.6.0-1 -> 3.6.1-1)
[03/17/05 15:38] upgraded libsoup (2.2.2-1 -> 2.2.3-1)

Ørjan Pettersen

Offline

#12 2005-11-30 18:44:05

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: Setxkbmap no gives: Error loading new keyb.

I might just have fund out why this happens. It seems like the problem is no free space on /. So, do a

#df

to se if a partion is out of space.


Ørjan Pettersen

Offline

#13 2006-02-21 19:10:41

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 546
Website

Re: Setxkbmap no gives: Error loading new keyb.

Now its happening to me, and i dont have space problems... its after the Xorg7 update/change...

I have installed xf86-input-keyboard, so thats not the problem.
Also another difference with orjanp is that im having the problem in every account, including ROOT.

Any ideas why is this?

[root@archcrow crow]# setxkbmap us_intl
Error loading new keyboard description
[root@archcrow crow]#


UPDATE:

It seems Xorg7 doesnt have a us_intl anymore... i will check to see whats the equivalent of this now. If someone knows it, please post it smile


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

#14 2006-02-21 19:36:10

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Setxkbmap no gives: Error loading new keyb.

Yes the keymaps were renamed. Try
setxkbmap "us(intl)"

Offline

#15 2007-03-17 21:12:45

train
Member
Registered: 2007-03-17
Posts: 38

Re: Setxkbmap no gives: Error loading new keyb.

I have a similiar problem when i try using setxkbmap i get the following:

[root@archie symbols]# setxkbmap -v 10 -model pc104 -layout de -variant nodeadkeys
Setting verbose level to 10
locale is C
Warning! Multiple definitions of keyboard model
         Using command line, ignoring X server
Warning! Multiple definitions of keyboard layout
         Using command line, ignoring X server
Applied rules from xorg:
model:      pc104
layout:     de
variant:    nodeadkeys
Trying to build keymap using the following components:
keycodes:   xfree86+aliases(qwertz)
types:      complete
compat:     complete
symbols:    pc+de(nodeadkeys)
geometry:   pc(pc104)
Error loading new keyboard description

The same for different combinations of -model pc102, pc104 or pc106. '/usr/lib/X11/xkb' does not exist, but i may not either. Some distros use it as a link against /usr/bin/xkbcompile.

Offline

#16 2008-09-26 19:33:29

bingen
Member
Registered: 2008-09-26
Posts: 2

Re: Setxkbmap no gives: Error loading new keyb.

Hi,

I have had the same problem, and in /var/log/kdm.log I could see that my problem was that /usr/share/X11/xkb/compiled/ is pointing (symbolic link) to /var/lib/xkb/, but this directory didn't exist. I have created and now it works.

Hope it helps. Regards,

   ßingen.

Offline

Board footer

Powered by FluxBB