DebianThis forum is for the discussion of Debian Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just installed Debian sarge on a Dell laptop (Inspiron 2200). It's mostly ok, except for some tuning and settings I still have to manage. One of them is the keyboard. I have a Swiss French keyboard which is recognized without problems by the command line. When I tried to start X manually (i.e. startx), I discover the setting was actually azerty (while the Swiss French keyboard is qwertz). This wasn't a big deal since xkeycaps helped me find the right key mapping and I saved it in a file which is loaded by xmodmap (in .bashrc) everytime I log in.
Now, here is the problem. X needs me to log in to recognize the keyboard. So if I use xdm to login (which I would like to do), xdm uses the azerty keyboard settings. My questions are:
- Why is it so? If the prompt is set to qwertz, it means that it most be some general setting.
- How and where can I set the keyboard (which config file or files) once and for all such that every application or package I use will use the same mapping, namely qwertz?
Glad it worked! As pointed out by the previous poster, dpkg-reconfigure can be used instead, but this fires up the whole configuration for xfree86 (didn't realise you hadn't moved to xorg), which is a bit overkill for simply changing the keymap IMHO if everything else is working fine (which seems to be the case).
Originally posted by fouldsy Glad it worked! As pointed out by the previous poster, dpkg-reconfigure can be used instead, but this fires up the whole configuration for xfree86 (didn't realise you hadn't moved to xorg), which is a bit overkill for simply changing the keymap IMHO if everything else is working fine (which seems to be the case).
Enjoy being able to login properly
He didn't move to xorg: "Since I am using Xfree86, I changed XF86.Config-4 accordingly."
Manually editing XF86Config-4 is a fine way to make changes. (Make sure you keep this file thoroughly backed up.) However, my thought was that running dpkg-reconfigure would show him some of the other settings he could optimize.
Thanks for your comments. I actually knew about the
command (I used it to configure X for my graphics card since I had to change the driver), but that wasn't the problem here, only the keyboard in a very specific way (for xdm) was going crazy and I was going anyway for a manual edit, I just didn't remember which file it was... :-)
Originally posted by michapma He didn't move to xorg: "Since I am using Xfree86, I changed XF86.Config-4 accordingly."