Forum Home
Press F1
 
Thread ID: 90182 2008-05-25 23:44:00 Xkbmap Ubuntu 8.04 kjaada (253) Press F1
Post ID Timestamp Content User
672525 2008-05-25 23:44:00 I have a problem with no keyboard input in KDE (it is ok in gnome) would running Xkbmap -V restart the keyboard kjaada (253)
672526 2008-05-26 00:02:00 The command is actually setxkbmap, and it's unlikely to fix anything - that utility is used for changing your keymap, not for enabling / disabling the keyboard.

Noting this is your second thread about the same problem... did you try the suggestion from the other thread about starting kcontrol from within gnome to check your keyboard setup?

Can you paste the contents of /etc/X11/xorg.conf here (inside [code] tags please, so that it will scroll).
Erayd (23)
672527 2008-05-26 00:12:00 here is the relevant bit (i think) and yes I tried kcontrol.
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
kjaada (253)
672528 2008-05-26 00:51:00 I'm actually after more than that - it's not the only relevant part. Can you just paste the whole thing please? Erayd (23)
672529 2008-05-26 01:24:00 xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection
kjaada (253)
672530 2008-05-26 02:25:00 Change your ServerLayout section to the following:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Then reboot. Does that sort your issue?

Note that you will need to edit that file as root - normal users don't have permission to write to it.
Erayd (23)
672531 2008-05-26 03:52:00 That was a disaster.My box started up in low graphics mode and I had to shut down and start in recovery and reset X.
Going again but Xorg.conf is back to what it was and still no keyboard in KDE.
Incidentally I did find (yesterday)two other posts on forums with the same problem
in earlier versons of Ubuntu.and despite some answers neither were solved.
kjaada (253)
672532 2008-05-26 06:24:00 This should not happen. Either you made a typo, or the new version of Ubuntu has some very, very weird (and very sloppy) hacks applied to it. The ServerLayout section is the standard place to specify which input devices should be used. There is no logical reason why this change should break things. Erayd (23)
672533 2008-05-26 07:27:00 I cut and pasted yr section in after deleting the entry.Also why does Gnome work ok if that edit is required. kjaada (253)
672534 2008-05-26 07:33:00 That edit isn't required, it's optional, and can be overridden (this is why gnome works). Entering it should *never* break things though - the fact that it does means the Ubuntu devs have some something rather stupid.

I'll do a bit of research and see if I can find some more info on your problem.
Edit: Does this (ubuntuforums.org) sound like your issue?
Erayd (23)
1 2