LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 05: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, 03:05 AM   #17
r-t
Member
 
Registered: Oct 2004
Location: Manchester UK
Distribution: Fedora 13 (Gnome user), Debian (on older second computer)
Posts: 46

Rep: Reputation: 15
This any good:

http://www.shallowsky.com/linux/keymap.html
 
Old 05-04-2010, 05:47 PM   #18
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,677

Rep: Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494
If you don't have X running, I think you just have to switch manually with the loadkeys command.
 
Old 05-04-2010, 11: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, 11: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, 12:08 PM   #21
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,677

Rep: Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494
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 10:42 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:16 AM
Selecting layout for secondary keyboard (Russian) lathuile Ubuntu 2 01-02-2007 12:24 PM
Russian Ukrainian Keyboard Layout Desperado2006 SUSE / openSUSE 2 09-04-2006 04:05 AM
Russian vertual keyboard GameMaker Linux - Software 1 02-26-2006 04:23 AM
Alt Keyboard Layout Setup esp Russian luegner Slackware 1 11-23-2003 02:22 AM

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

All times are GMT -5. The time now is 06:46 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration