Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
I run Gentoo with KDE and I have a german keyboard (Cherry RS 6000 M). However only the "basic" keys work, i.e. no "@", no "|", no umlauts like "ü", no backslash. And the KDE Keyboard Tool (the little flag in the panel that indicates which keyboard layout you are using) shows "ERR: Error changing keyboard layout to 'de(nodeadkeys)'" (or "... to 'en(basic)'"). In the KDE Control Center I set
Keyboard model: Generic 104-key PC (tried several other)
Active layouts: "us basic" and "de nodeadkeys" (tried also "de basic")
thx for your post. I changed Option "XkbModel" "pc104" to Option "XkbModel" "pc105" in the xorg.conf and set the keyboard model to "Generic 105-key (Intl) PC" in the KDE Control Center. Didn't work though.
Arg!! I just realized something weired: When I do a console login and then startx, they keyboard works. When I do a graphical login to KDE, the keyboard doesn't work (e.g. behaves as described above)!
One possible reason I see is that you have more than one xorg.conf (or any of its other possible names) and that, when X is started from the initscripts, it uses another conf file or another combination of conf files than the one used by a manual startx command.
If you start it manually, you're probably not root, but your init scripts are run by root. So your root user might have a personal .xserverrc that changes the keyboard settings. Try to log in as root and type "startx", does the keyboard work? What if you are another user?
If that doesn't clarify the issue, look for local configuration files, analyse your initscripts and see how X is started in your 'graphical' runlevel, or the brute-force method: as root, type "cd / && grep -R Keyboard * | less". The latter will take some time, though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.