Why did my keyboard die on me in KDE Slackware 13.0
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why did my keyboard die on me in KDE Slackware 13.0
Hi all,
The strangest thing just happened to me this morning. My keyboard just died on me when starting up KDE. I always boot in the shell and run startx from there. Yesterday everything was working great, participating in a huge newbie thread, and this morning couldn't type a thing in KDE.
So I got my other laptop which runs Slackware also, started up and got searching on LinuxQuestions for a solution, which I found quite fast. Although it's only like a 'bypass'. I renamed the .kde to .kdebackup, started X and got the nice working standard KDE without all the customization I had done. To me that's not that important, got it all fixed in the new 'environment'.
But I'd like to know from you guys if this is a known bug in KDE and if there is a patch for it so that this doesn't happen like every other two months.
I could use the keyboard in console mode without a problem, the issue only arose when starting KDE. I rebooted four times, always with the same problem. When I moved the .kde directory all worked fine. Moving the backup back over the newly created gave me the same result.
So, as stated in another thread here on LQ it must have something to do with files or permissions changing all of a sudden. And that is in my opinion quite troublesome, that gets me worried
If you need to use a non-US keyboard layout, then copy the file located at
/usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy
and edit it to suit your needs. Have a look at the contents of that file
for an example and more information. If you prefer to do this the "old" way
using /etc/X11/xorg.conf, then you can use "X -configure" or "xorgsetup" to
generate an xorg.conf, then add the following lines to the "ServerFlags"
section to disable input device hotplugging via HAL:
Option "AllowEmptyInput" "false"
Option "AutoAddDevices" "false"
Option "AutoEnableDevices" "false"
This is also relevant if you prefer to disable HAL completely for whatever
reason.
Of course I'm using a non-US keyboard, I'm using a belgian azerty one and on other computers a spanish querty. I'll look into the policy thingy. Thanks a lot. What troubles me however is why it has been working for like an entire month without problems and all of a sudden fails on me. Could that have to do with an update?
You're right, it's not always obvious and you are correct stating it out. I put the policy in place and am waiting if this happens again. It's not that big of an issue but more of an annoyance. It's easy to repair but I'm just that kind of guy that wants to know why something happens even if I can resolve it in an easy way.
Thanks again for your pointer, it's much appreciated.
It can be fun to trouble shoot but hitting that brick wall can sometimes enlighten one to the way as to solve the issue(s). Hard failures are always easier to fix.
Tell me about it, I have to work with Windows servers whole day long at the job. Talking about intermittent problems, Windows comes with a lot of them . Trying to include a W2003 server with Tomcat in a High Availability / Load Balancing cluster, that's a pain in the ass.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.