| View previous topic :: View next topic |
| Author |
Message |
wizardofos Apprentice


Joined: 20 Jul 2004 Posts: 201
|
Posted: Wed Jan 12, 2005 10:09 am Post subject: X.org Keymap doesn't work |
|
|
Hi
Since I upgraded X.org to 6.8.0-r3 my keymap doesn't work correctly anymore. My xorg.conf is 100% correct. I can use most of my keyboard, but some keys like the german mutation ae, ue and so on, don't work. the alt gr key for typing a pipe doesn't work either.
Maybe it gots something to do with this error in my Xorg.log?
| Code: | (EE) Couldn't open compiled keymap file /usr/X11R6/lib/X11/xkb/compiled/server-0.xkm
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap |
There are no files in /usr/X11R6/lib/X11/xkb/compiled/ ...
Greetings
Fabian Zeindl |
|
| Back to top |
|
 |
expat_iain Guru

Joined: 09 Jan 2004 Posts: 361 Location: Malta GC
|
Posted: Wed Jan 12, 2005 10:59 am Post subject: |
|
|
Do you have anything under:
| Code: | | /usr/lib/X11/xkb/compiled |
Seems to be the location for keymaps on my system.
Regs.
Iain.[/code] |
|
| Back to top |
|
 |
wizardofos Apprentice


Joined: 20 Jul 2004 Posts: 201
|
Posted: Wed Jan 12, 2005 11:25 am Post subject: |
|
|
| nope... |
|
| Back to top |
|
 |
expat_iain Guru

Joined: 09 Jan 2004 Posts: 361 Location: Malta GC
|
Posted: Wed Jan 12, 2005 11:57 am Post subject: |
|
|
Information on how to setup a keymap here:
| Code: | | less /usr/lib/X11/xkb/README.config |
Regs.
Iain. |
|
| Back to top |
|
 |
wizardofos Apprentice


Joined: 20 Jul 2004 Posts: 201
|
Posted: Wed Jan 12, 2005 12:08 pm Post subject: |
|
|
Yes, but when I do setxkbmap it always says Error loading keyboard description. The /var/log/Xorg.0.log says the same:
(EE) Couldn't open compiled keymap file /usr/X11R6/lib/X11/xkb/compiled/server-0.xkm
Greetings
Fabian |
|
| Back to top |
|
 |
Triptol Tux's lil' helper


Joined: 21 Feb 2004 Posts: 107
|
Posted: Sun Mar 06, 2005 10:50 am Post subject: Solution? |
|
|
Try this:
| Code: | | ls -al /usr/X11R6/lib/X11/xkb/xkbcomp |
If that one is 0 bytes then do the following:
| Code: | | cp /usr/X11R6/bin/xkbcomp /usr/X11R6/lib/X11/xkb |
Should fix your problem. (You can also symlink it, if you want to). |
|
| Back to top |
|
 |
Gogiel Guru


Joined: 11 Nov 2004 Posts: 347
|
Posted: Sun Mar 06, 2005 12:47 pm Post subject: |
|
|
I had same problem and rm -rf /tmp resolved it
if it doesnt help try:
Making keymap
| Code: | | setxkbmap -rules xfree86 -model pc104 -layout /* your layput here */ -print > server-0 |
Compiling it (there'll be a lot of warnings, ignore them).
You should get a new file caled server-0.xkm
And now just move it:
cp -f server-0.xkm /usr/lib/X11/xkb/compiled/server-0.xkm |
|
| Back to top |
|
 |
Bigun Veteran


Joined: 21 Sep 2003 Posts: 1949
|
Posted: Tue Mar 08, 2005 6:00 pm Post subject: |
|
|
Contents of server-0
| Code: |
xkb_keymap {
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc/pc(pc104)+pc/us" };
xkb_geometry { include "pc(pc104)" };
};
|
And here is the output of compiling:
| Code: |
bigun@64lappy ~ $ xkbcomp server-0
syntax error: line 1 of complete
Error: Error interpreting include file "complete"
Exiting
Abandoning keytypes file "(null)"
|
No file called server-0.xkm created. _________________ Sadhu Sundar Singh - responding to Darwinian Evolution - "...but I am more interested in Divine Selection and survival of the unfit" |
|
| Back to top |
|
 |
Gogiel Guru


Joined: 11 Nov 2004 Posts: 347
|
Posted: Wed Mar 09, 2005 8:15 am Post subject: |
|
|
| bigun89 wrote: | Contents of server-0
| Code: |
xkb_keymap {
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc/pc(pc104)+pc/us" };
xkb_geometry { include "pc(pc104)" };
};
|
And here is the output of compiling:
| Code: |
bigun@64lappy ~ $ xkbcomp server-0
syntax error: line 1 of complete
Error: Error interpreting include file "complete"
Exiting
Abandoning keytypes file "(null)"
|
No file called server-0.xkm created. |
I tried to compile your keymap and it works ok. Try to do it as root. |
|
| Back to top |
|
 |
Bigun Veteran


Joined: 21 Sep 2003 Posts: 1949
|
Posted: Wed Mar 09, 2005 2:33 pm Post subject: |
|
|
| Code: |
(EE) Error loading keymap /usr/lib/X11/xkb/compiled/server-0.xkm
|
Also, don't know if this has anything to do with it, but this error was repeated about a hundred times or so:
| Code: |
GetModeLine - scrn: 0 clock: 44900
GetModeLine - hdsp: 1024 hbeg: 1032 hend: 1208 httl: 1264
vdsp: 768 vbeg: 768 vend: 776 vttl: 817 flags: 21
|
_________________ Sadhu Sundar Singh - responding to Darwinian Evolution - "...but I am more interested in Divine Selection and survival of the unfit" |
|
| Back to top |
|
 |
Gogiel Guru


Joined: 11 Nov 2004 Posts: 347
|
Posted: Wed Mar 09, 2005 2:45 pm Post subject: |
|
|
| bigun89 wrote: | | Code: |
(EE) Error loading keymap /usr/lib/X11/xkb/compiled/server-0.xkm
|
Also, don't know if this has anything to do with it, but this error was repeated about a hundred times or so:
| Code: |
GetModeLine - scrn: 0 clock: 44900
GetModeLine - hdsp: 1024 hbeg: 1032 hend: 1208 httl: 1264
vdsp: 768 vbeg: 768 vend: 776 vttl: 817 flags: 21
|
|
Give me your mail and i'll send compiled map to you.
| Code: |
gogiel@gogiel map $ ls -l server-0.xkm
-rw-r--r-- 1 gogiel users 9036 mar 9 15:41 server-0.xkm // about 8 kb
|
|
|
| Back to top |
|
 |
Bigun Veteran


Joined: 21 Sep 2003 Posts: 1949
|
Posted: Wed Mar 09, 2005 3:14 pm Post subject: |
|
|
Sure, if your compiled version works, I'll post a link to it from my site. _________________ Sadhu Sundar Singh - responding to Darwinian Evolution - "...but I am more interested in Divine Selection and survival of the unfit" |
|
| Back to top |
|
 |
Mark Clegg Apprentice


Joined: 05 Jan 2004 Posts: 269 Location: ZZ9 Plural Z Alpha
|
Posted: Sun Mar 20, 2005 6:48 pm Post subject: |
|
|
Just had the same problem after upgrading to 6.8.2-r1, checking the files showed that
/usr/X11R6/bin/xkbcomp
/usr/X11R6/lib/X11/xkb/xkbcomp
were different sizes and only one was an executable, the other was data!
rm /usr/X11R6/lib/X11/xkb/xkbcomp
ln -s /usr/X11R6/bin/xkbcomp /usr/X11R6/lib/X11/xkb/xkbcomp
fixed it in this case. |
|
| Back to top |
|
 |
Fauli l33t


Joined: 24 Apr 2004 Posts: 760 Location: Moers, Germany
|
|
| Back to top |
|
 |
bushwakko Guru


Joined: 25 Mar 2003 Posts: 495
|
Posted: Wed Mar 23, 2005 12:11 pm Post subject: Re: Solution? |
|
|
| Triptol wrote: | Try this:
| Code: | | ls -al /usr/X11R6/lib/X11/xkb/xkbcomp |
If that one is 0 bytes then do the following:
| Code: | | cp /usr/X11R6/bin/xkbcomp /usr/X11R6/lib/X11/xkb |
Should fix your problem. (You can also symlink it, if you want to). |
this worked for me. _________________ Macbook Pro 15"
Core 2 Duo 2,33ghz
2gb Ram
ATI Mobility x1600 256mb |
|
| Back to top |
|
 |
pallaert n00b

Joined: 29 Apr 2005 Posts: 18
|
|
| Back to top |
|
 |
|