LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 08-04-2008, 09:59 AM   #1
bezdomny
Member
 
Registered: May 2006
Location: North-Central California
Distribution: Debian Lenny
Posts: 154

Rep: Reputation: 30
toggle between keyboard maps on-the-fly?


I would like to be able to toggle back and forth between keyboard maps on-the-fly while within a particular application. Specifically, I would like to toggle between Cyrillic and Latin characters within a single IRC session.

As it is, I must toggle the keyboard to the desired map, *then* open desired application, and cannot toggle between maps while within that application. This situation simply won't work in chat with English-speaking Russian friends in IRC as I'm learning Russian language and sometimes can make myself understood in Russian and sometimes can't.

I have gone K Menu>Control Center>Regional & Accessibility>Keyboard Layout and set both Russian and US-English keyboard maps. The keyboard-map toggle icon (represented by alternating US and Russian flag images) appears in the lower-right hand corner of the bottom panel.

When I go K Menu>Control Center>Regional & Accessibility>Country/Region & Language, I can effectively install only one language at a time. When I try to install an alternative language, only one alternative is available-- US English.

Perhaps I'm doing something wrong or not doing enough at K Menu>Control Center>Regional & Accessibility>Keyboard Layout?

Once again, I would like to be able to toggle back and forth between keyboard maps on-the-fly while within a particular application. I hope I'm making sense here.

I'm running KDE 3.5.

If more information is needed, please don't hesitate to ask.
 
Old 08-04-2008, 10:44 AM   #2
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Rep: Reputation: 31
You are doing the "toggle keymap" thing right.

i think you want to toggle between font encodings. If this is the case, i may have simplified your question, but I have no idea about the answer.
 
Old 08-04-2008, 12:15 PM   #3
bezdomny
Member
 
Registered: May 2006
Location: North-Central California
Distribution: Debian Lenny
Posts: 154

Original Poster
Rep: Reputation: 30
toggle between keyboard maps on-the-fly?

Thanks for the clarification, ciden. Perhaps it will help someone weigh in with a solution.
 
Old 08-05-2008, 04:46 PM   #4
bezdomny
Member
 
Registered: May 2006
Location: North-Central California
Distribution: Debian Lenny
Posts: 154

Original Poster
Rep: Reputation: 30
solved: toggle between keyboard maps on-the-fly

Code:
apt-get install kde-i18n-ru
Note the "ru" suffix for the desired language, in this case, Russian. Next:

Code:
apt-get install kkbswitch
Then, edit /etc/X11/xorg.conf to add the desired alternate keyboard map (in this case, Russian):
Quote:
"XkbLayout" "us,ru"
as an option under Section "InputDevice".

Optionally, edit the same section of /etc/X11/xorg.conf to add a keyboard switch in addition to the mouseover switch at the panel applet:
Quote:
"XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll"
Thanks to the community at channel #kde on freenode IRC, and the community at kde-forum.org for the solution.
 
  


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
how to toggle between keyboard maps in console-cyrillic? bezdomny Linux - Software 2 08-03-2008 06:59 PM
how can I toggle different keyboard layouts? kentri9 Linux - Newbie 14 10-09-2004 04:46 PM
installing new keyboard maps tewaru Linux - Newbie 0 06-12-2004 03:42 PM
Customize keyboard maps? annekaelber Linux - Software 2 01-28-2004 06:28 PM
X windows keyboard maps vexer Linux - Software 1 04-24-2003 06:46 PM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration