LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-03-2010, 04:46 PM   #16
Wombat Pete
Member
 
Registered: Apr 2010
Distribution: Starting with Debian. When I've learn it passably well, moving to Gentoo. Opinions are appreciated!
Posts: 69

Original Poster
Rep: Reputation: 16

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?
 
1 members found this post helpful.
Old 05-04-2010, 02:05 AM   #17
r-t
Member
 
Registered: Oct 2004
Location: Manchester UK
Distribution: Arch, Fedora
Posts: 54

Rep: Reputation: 15
This any good:

http://www.shallowsky.com/linux/keymap.html
 
Old 05-04-2010, 04:47 PM   #18
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,145

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
If you don't have X running, I think you just have to switch manually with the loadkeys command.
 
Old 05-04-2010, 10:18 PM   #19
Wombat Pete
Member
 
Registered: Apr 2010
Distribution: Starting with Debian. When I've learn it passably well, moving to Gentoo. Opinions are appreciated!
Posts: 69

Original Poster
Rep: Reputation: 16
/bin/setupcon seems interesting. I wonder whether it might help here.

Or perhaps loadkeys could do this in a BASH script automatically run at set-up.

But there must be one that's ALREADY doing this, setting up the keymaps I get at log-in, no? THAT'S what I need to find, isn't it?
 
Old 05-07-2010, 10:32 AM   #20
Wombat Pete
Member
 
Registered: Apr 2010
Distribution: Starting with Debian. When I've learn it passably well, moving to Gentoo. Opinions are appreciated!
Posts: 69

Original Poster
Rep: Reputation: 16
Using the loadkeys command seems to obviate the "shift-alt" set-up to switch between the layouts.
That would be self-defeating.
Still not there!
 
Old 05-07-2010, 11:08 AM   #21
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,145

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: New russian blog "Digged Linux Articles in Russian" LXer Syndicated Linux News 0 07-31-2007 06:16 AM
Selecting layout for secondary keyboard (Russian) lathuile Ubuntu 2 01-02-2007 11:24 AM
Russian Ukrainian Keyboard Layout Desperado2006 SUSE / openSUSE 2 09-04-2006 03:05 AM
Russian vertual keyboard GameMaker Linux - Software 1 02-26-2006 03:23 AM
Alt Keyboard Layout Setup esp Russian luegner Slackware 1 11-23-2003 01:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration