You are not logged in.
Hello
I recently noticed that my swedish keys refuse to work in X. Xorg log gives me the following error:
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Oct 16 22:13:07 PDT 2006Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "mx518" "CorePointer"
EndSectionSection "Files"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/artwiz-fonts"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/local/share/fonts"
EndSectionSection "Module"
Load "dbe"
Load "extmod"
Load "freetype"
Load "glx"
Load "dri"
Load "drm"
EndSectionSection "InputDevice"
Identifier "mx518"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "10" # adding this enables the extra buttons on the MX510
Option "ZAxisMapping" "4 5" # adding this maps wheel scrolling events to mouse buttons 9 & 10
EndSectionSection "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
Option "XkbRules" "xorg"
EndSectionSection "Monitor"
Identifier "P90f"
# HorizSync 30.0-83.0
# VertRefresh 55.0-75.0
Option "DPMS" "true"
EndSectionSection "Device"
Identifier "nvidiakortet"
Driver "radeon"
VendorName "NVIDIA Corporation"
EndSectionSection "DRI"
Group "video"
Mode 0666
EndSectionSection "Screen"
Identifier "Screen0"
Device "nvidiakortet"
Monitor "p90f"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Also alt keys refuse to work
I have used the same xorg.conf in ages and never had any problems with this. I read in another thread about the problem and he got it to work after installing xorg-xkb-utils and xkbsel but that did not help me.
Last edited by bud (2008-09-21 20:58:27)
Hello, I am normal!
Offline
I'm having issue as well, getting output from X like:
The XKEYBOARD keymap compiler (xkbcomp) reports:
> > Warning: Warning: Duplicate shape name ""
Duplicate shape name ""
> > Using last definition
Errors from xkbcomp are not fatal to the X server
Errors from xkbcomp are not fatal to the X server
(EE) Error compiling keymap (server-0)
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
(EE) XKB: Couldn't compile keymap
not sure what the issue is, and like bud i didn't have these errors before, they just appeared.
Offline
Thank god im not alone, I hope we can get to the bottom with this! Its getting damn annoying not able to write normal in my native language
Hello, I am normal!
Offline
Have you tried completely reinstalling X? pacman -Rn should remove any configfiles.
Can you choose any other keymap? Do you still get the error if you choose the default keymap?
Option "XkbLayout" "en" #Or whatever the default is.
:edit:
OffTopic:
Section "Device"
Identifier "nvidiakortet"
Driver "radeon"
VendorName "NVIDIA Corporation"
EndSection
wth?
Last edited by loosec (2008-08-27 12:17:01)
Offline
Yes, it has been done, no change..
I seriously see no other alternative than reinstalling the system if no1 can help anytime soon, its a dead awful handicap being unable to write in the foreign language.
offtopic
lol yes i had nvidia-card earlier
Last edited by bud (2008-08-28 21:42:44)
Hello, I am normal!
Offline
I've got the same issue.
All KDE shortcuts are not working (Alt-F2, Alt-Tab, etc).
Keyboard shortcuts in System Settings displays:
Failed to contact the KDE global shortcuts daemon
Message: The name org.kde.kded was not provided by any .service files
Error: org.freedesktop.DBus.Error.ServiceUnknown
Offline
Yep, same here
Hello, I am normal!
Offline
Same for me:
/var/log/Xorg.0.log have a lots of:
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
and /var/log/kdm:
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
(and much mores)
my xorg.conf look like this:
###################################################
# Files and Modules
###################################################
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/cyrillic"
EndSection
Section "Module"
Load "ddc"
Load "dbe"
Load "extmod"
Load "glx"
Load "freetype"
Load "record"
EndSection
###################################################
# Flags
###################################################
Section "ServerFlags"
Option "DefaultServerLayout" "Monitor"
Option "AllowMouseOpenFail" "true"
EndSection
###################################################
# Input
###################################################
Section "InputDevice"
Identifier "Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
###################################################
# Monitors & Tv
###################################################
Section "Monitor"
Identifier "Samsung"
ModelName "SyncMaster 920nw"
Option "DPMS"
Option "ConnectedMonitor" "CRT"
HorizSync 30-81
VertRefresh 56-75
Option "DPMS"
DisplaySize 380 238
EndSection
Section "Monitor"
Identifier "tv"
HorizSync 30-50
VertRefresh 60
EndSection
###################################################
# Devices
###################################################
Section "Device"
Identifier "NV"
VendorName "nVIDIA Corporation C51PV"
BoardName "nVidia Corporation C51PV [GeForce 6150]"
Driver "nvidia"
BusID "PCI:0:5:0"
Option "ConnectedMonitor" "CRT"
Option "UseEdidDpi" "False"
Option "NoLogo" "True"
Option "DamageEvents" "True"
Option "AddARGBGLXVisuals" "True"
Option "BackingStore" "True"
Option "TripleBuffer" "True"
Option "RenderAccel" "True"
Option "UseCompositeWrapper" "True"
Option "PixmapCacheSize" "200000"
Option "OnDemandVBlankInterrupts" "True"
EndSection
Section "Device"
Identifier "NV-TVOUT"
VendorName "nVIDIA Corporation C51PV"
BoardName "nVidia Corporation C51PV [GeForce 6150]"
Driver "nvidia"
BusID "PCI:0:5:0"
Option "UseEdidDpi" "False"
Option "NoLogo" "True"
Option "RenderAccel" "True"
Option "DamageEvents" "True"
Option "AddARGBGLXVisuals" "True"
Option "BackingStore" "True"
#For TV-Out
Option "ConnectedMonitor" "CRT, TV"
Option "TVStandard" "PAL-NC"
Option "TVOutFormat" "SVIDEO"
EndSection
###################################################
# Layout nvidia@monitor
###################################################
Section "Screen"
Identifier "nVidia-Samsung"
Device "NV"
Monitor "Samsung"
DefaultColorDepth 24
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Monitor"
Screen 0 "nVidia-Samsung" 0 0
InputDevice "Keyboard" "CoreKeyboard"
InputDevice "PS/2 Mouse" "CorePointer"
EndSection
###################################################
# Layout nvidia@tv
###################################################
# http://en.wikibooks.org/wiki/NVidia/TV-OUT
###################################################
Section "Screen"
Identifier "nVidia-Tv"
Device "NV-TVOUT"
Monitor "tv"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Tv"
Screen 0 "nVidia-Tv" 0 0
InputDevice "Keyboard" "CoreKeyboard"
InputDevice "PS/2 Mouse" "CorePointer"
EndSection
###################################################
# END OF XORG CONFIG FILE
###################################################
Last edited by takedown (2008-09-10 13:32:50)
Offline
Really sad that nobody can find a solution, I also asked at #archlinux for help but without success.
Last edited by bud (2008-09-11 21:37:47)
Hello, I am normal!
Offline
realy... I think I can live with this erros in my system, but...but...but...
Offline
i had similar problem, check .ICEAuthority in your home for write access, i can't imagine how it changed to root:root if i wanst doing anything with it.
Offline
i have the same problem (with dvorak), though my keyboard functions normally. maybe because i set my keyboard-layout in /etc/rc.conf and it falls back on that one.
Offline
I had the same error in my arch- and crux-box. I find out this error comes up if
xnumlock is installed.
So I removed xnumlock and tried http://bbs.archlinux.org/viewtopic.php?id=11905 this, and it worked fine of me.
Jean-Paul
I'm root. if you see me smile, you'd better have a backup!!
Offline
I do not have installed the xnumlock program but still I have this problem.
And although I have updated the system almost every day in the last few days, the problem did not go away.
<code>
xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "us", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "us", "", ""
</code>
Moreover, if I use setxkbmap in a virtual console, the command is accepted, the gnome applet marks the change, but I still cannot use the special characters.
I use gnome version gnome-desktop 2.22.3-1.
Any ideas?
Any help would be more then appreciated.
Offline
problem solved.
Remove the file ~/.gconf/desktop/gnome/peripherals/keyboard/kbd/%gconf.xml
It seems that the old file is not that well digested by the new version of gnome...
Offline
Also you can add 'setxkbmap' to session startup and everything's will be fine. It's Xorg bug I think.
http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!
Offline
bud@guybrush ~$ setxkbmap se
Error loading new keyboard description
Thats the problem from the beginning, it does not exist
FINALLY, solved:
xserver doesn't have the rights to write, execute, read in the directory /var/tmp
sudo chmod 777 /var/tmp
[SOLVED]
Last edited by bud (2008-09-21 20:58:11)
Hello, I am normal!
Offline
Hi,
I had the right permissions in /var/tmp but I already 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
That directory should have been created by xorg-server.
Offline
problem solved.
Remove the file ~/.gconf/desktop/gnome/peripherals/keyboard/kbd/%gconf.xml
It seems that the old file is not that well digested by the new version of gnome...
*EDIT*
this apparently did NOT fix my problem as I thought it had.
after rebooting problem re-appears.
so im still searching...
Last edited by Evanlec (2008-10-05 23:02:20)
Offline
Offline
Thread that may be relevant, still working on this one myself (I'm dying without alt-tab..) ;-)
Offline
Further thoughts:
/var/log/kdm.log has the following:
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Duplicate shape name ""
> Using last definition
...
> Error: Section defined without a name
> Definition ignored
> Error: Section defined without a name
> Definition ignored
> Error: Section defined without a name
> Definition ignored
> Error: Section defined without a name
> Definition ignored
Now, the question I have is - where do we find the args passed to xkbcomp to continue hunting down what's amiss?
Offline
Slightly embarrassed, but that logfile was old. Probably something to research later, but don't think it was actually involved here.
I did, however, manage to solve the problem: I was launching X from a command line. Once I fired up kdm and logged in through that, all worked. Not sure what the diff is - something permissions-related?
Offline
I'm having the same problem, and it is preventing me from using Dvorak in X unless I manually set the layout on each X startup.
I think maybe it is a bug in evdev? My Xorg.conf looks like:
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbVariant" "dvorak"
Option "XkbLayout" "dvorak"
EndSection
And yet when X is starting up, it says:
(**) Option "xkb_rules" "evdev"
(**) AT Translated Set 2 keyboard: xkb_rules: "evdev"
(**) Option "xkb_model" "evdev"
(**) AT Translated Set 2 keyboard: xkb_model: "evdev"
(**) Option "xkb_layout" "us"
(**) AT Translated Set 2 keyboard: xkb_layout: "us"
Very strange... None of the fixes in this thread worked for me, so I'm just dealing with a 'setxkbmap' in my xinit script for now I suppose...
Last edited by daedalus (2009-01-07 16:49:44)
Offline