baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: sindi keesan <keesan AT sdf.lonestar.org>
- To: baslinux AT lists.ibiblio.org
- Subject: [BL] keyboard layout switching (fwd)
- Date: Wed, 13 Jul 2005 16:55:03 +0000 (UTC)
A very recent answer to a list question from six months ago about using different keyboard layouts in CLI mode.
I hope this will be helpful to our Spanish and German writing list members.
I don't follow what is going on here - is this a way to set up each console with a different keyboard?
I really ought to learn to use different keyboards, to write emails in Russian rather than transliteration, or in Czech with diacritics. (I would have to print out the keyboard first - are the keyboard layouts shown graphically somewhere in a standard Slackware package?).
keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
---------- Forwarded message ----------
Date: Wed, 13 Jul 2005 19:48:00 +0300
From: XXXXXXXX
To: keesan AT sdf.lonestar.org
Subject: keyboard layout switching
13-Jul-2005
Hi Sindi,
I picked your question from the 'net and as it appears that I was the originator of the original posting, it caught my eye... :-)
For the console, you need to do (at least) the following:
-- point the console to the appropriate display tranlation table(s)
-- load the proper font (use your pick from /usr/share/kbd/consolefonts)
-- load the proper keyboard translation map (use your pick from
/usr/share/kbd/keymaps)
The former can be performed as follows for some flavor of the (monotonic) hellenic keyboard and console:
echo -ne "\033(K\033)K" >/dev/tty
setfont iso07.16
loadkeys gr
You may also amplify that, for all consoles, at system start-up (a bit more involved).
I was requested to write a description for the use of hellenic polytonic keyboard / fonts, so it will be a good place to expand on that, as well. If you are interested, I will send you the end result.
Whatever your decision, _please_ remove my e-mail address if you decide to post this solution anywhere.
I am curious, though, why wood a good 'netter like you be interested in such a low-down capability...
Best regards,
Dimitri Marinakis
======================================
Mon Jan 17 10:38:22 EST 2005
Do you know how to do this for the console keyboard?
On Mon, 17 Jan 2005, James Miller wrote:
I ran across some information recently that may be of help to BL users who
use various languages and need to switch "on the fly" between keyboard
layouts. I haven't tried it, but I do not see why it wouldn't work under
BL, if the program setxkbmap and the relevant keyboard map is on the
system. Anyway, here's the information:
There are a number of keyboard layouts for linux, however, and an easy
way to switch keyboards. For example, you can use ctrl/shift to switch
between the english and hellenic keyboards by entering the following two
lines in your .profile:
export LC_CTYPE=el_GR.UTF-8
setxkbmap us+el polytonic -option grp:ctrl_shift_toggle
This will enable UTF characters and set your keyboard to switch between
the "us" english and hellenic "el" layout groups. You can leave the
"polytonic" option out (a keyboard layout modifier for hellenic) or you
can choose an alternate group switch code.
James
_______________________________________________
BasLinux mailing list
BasLinux at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/baslinux
keesan at sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
- [BL] keyboard layout switching (fwd), sindi keesan, 07/13/2005
Archive powered by MHonArc 2.6.24.