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.
I had installed successfully the 10.2 version of slck, but some how my keyboarb has the english layout and i wish to change it to th portuguese. In X is everything alwright, but in console mode after starting the OS, and not loading the X everything is in English layout.
Thanks guys but i solve the problem, by entering in X, in my case in KDE, and in the control center i add the portuguese language, and everything went right.
with the appropriate "laodkeys" command. Mine has the following lines to load a dutch keyboard mapping:
Code:
#!/bin/sh
# Load the keyboard map. More maps are in /usr/share/kbd/keymaps.
if [ -x /usr/bin/loadkeys ]; then
/usr/bin/loadkeys nl.map
fi
Don't forget to make the file executable:
Code:
chmod +x /etc/rc.d/rc.keymap
Eric
Eric, thanks a lot. Your advice was my only solution to change my keyboard map. Just a little tip, for anybody who needs apply this same procedure:
In my slackware 12 distro, I have maps of keyboards in the following path:
Code:
/usr/share/kbd/keymaps/i386/
in this dir, I have more keymaps directories. I list them with
Code:
bash-3.1$ pwd; ls
which produces following ouput on screen
Code:
/usr/share/kbd/keymaps/i386
azerty dvorak fgGIod include qwerty qwertz
In my case, an UK map, I just pick uk.map.gz of qwerty dir, creating a rc.keymap as follows,
Code:
#!/bin/sh
# Load the keyboard map. More maps are in /usr/share/kbd/keymaps.
if [ -x /usr/bin/loadkeys ]; then
/usr/bin/loadkeys /usr/share/kbd/keymaps/i386/qwerty/uk.map.gz
fi
after created rc.keymap (as root), I just changed it mod, as suggested by Eric, and then reboot. It works for me.
Typically these things are configured when you install Slackware. For example, I use dvorak keyboard layout, and when I install Slackware, it asks you to choose the keyboard layout, if you do so there, it should work from then on. If you don't it's very difficult to move around with another keyboard layout. So it's best to change it then.
OK H_TeXMeX_H. However, in certain circunstances you require change your keyboard or you just forgot choose the right one in the installation process, perhaps awared about other install steps (as happened to me, as a newbie I am). Then, I spent a lot of hours trying to fix this mistake, and Eric's advice was the only solution.
But H_TeXMeX_H, it's true, it's better adjust this at installation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.