How to change the keyboard layout (I have English-Russian set-up, Russian kbd wrong)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Distribution: Starting with Debian. When I've learn it passably well, moving to Gentoo. Opinions are appreciated!
Posts: 69
Original Poster
Rep:
r-t, you've been a great help, thanks, and that would probably work, and I appreciate the research.
But I ask you: since I already can switch between the two keyboards in tty as soon as I log in, doesn't it follow that there must be something, almost certainly in a text file used at start-up, that selects the keyboard layout to use for Russian? And if that's so, shouldn't it be possible just to change that setting? It would be cool to do this in the more efficient manner...
Thoughts?
What I meant is that you had to use loadkeys to do the switch.
You can see the console key files in /lib/kbd/keymaps and they're far less developed than those for X in /usr/share/X11/xkb. Thinking about it, the need to switch from Latin to Cyrillic on the fly is characteristic of activities like word-processing, which are generally going to be done in a GUI environment. Running without X is more likely for systems administration, where you will want to pick a particular language and stick with it. That's why xkb drivers include keys for things like ISO_Next_Group, but the console drivers prefer things like Show_Registers. If you want to set Shift+Alt as ISO_Next_Group, you'll have to re-write a file: probably /lib/kbd/keymaps/i386/include/linux-keys-bare.inc.
Last edited by DavidMcCann; 05-09-2010 at 09:42 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.