[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Experiments with classical Greek keyboard input
- To: Joe Schaffner <schaffner.joe@xxxxxxxxx>
- Subject: Re: Experiments with classical Greek keyboard input
- From: Vasilis Vasaitis <vvas@xxxxxxxxxxxxxxx>
- Date: Wed, 10 May 2006 00:00:31 +0100
- Cc: Jan Willem Stumpel <jstumpel@xxxxxxxxx>, linux-utf8@xxxxxxxxxxxx, adia@xxxxxxxxxxxxxxxxxx, schaffnerja@xxxxxxxxx, dm@xxxxxx
- In-reply-to: <514a17f50605091104s67901164xcd96d53f1905660@mail.gmail.com>
- List-archive: <http://mail.nl.linux.org/linux-utf8/>
- List-help: <mailto:ecartis@nl.linux.org?Subject=help>
- List-id: <linux-utf8.nl.linux.org>
- List-owner: <mailto:ecartis-owner@nl.linux.org>
- List-post: <mailto:linux-utf8@nl.linux.org>
- List-software: Ecartis version 1.0.0
- List-subscribe: <mailto:linux-utf8-request@nl.linux.org?Subject=subscribe>
- List-unsubscribe: <mailto:linux-utf8-request@nl.linux.org?Subject=unsubscribe>
- Mail-followup-to: Joe Schaffner <schaffner.joe@gmail.com>, Jan Willem Stumpel <jstumpel@planet.nl>, linux-utf8@nl.linux.org, adia@egnatia.ee.auth.gr, schaffnerja@yahoo.com, dm@ssa.gr
- References: <43DE0F16.7060800@gmx.net> <43DE57A0.9090804@my.home> <43DE6376.9080805@gmx.net> <514a17f50602011156t60e4c284j3810ccc2abb64c29@mail.gmail.com> <43E36B34.5080006@my.home> <514a17f50604121112i5b241b62kded3ccd2c957ba91@mail.gmail.com> <514a17f50604131216h53c9bb46j2ba8edd676543977@mail.gmail.com> <443FBA8B.8020700@my.home> <514a17f50604141124w70bf38a4xc801a770bf281a04@mail.gmail.com> <514a17f50605091104s67901164xcd96d53f1905660@mail.gmail.com>
- Reply-to: linux-utf8@xxxxxxxxxxxx
- Sender: linux-utf8-bounce@xxxxxxxxxxxx
- User-agent: Mutt/1.5.11+cvs20060403
Since I'm still cc'ed here...
On Tue, May 09, 2006 at 09:04:52PM +0300, Joe Schaffner wrote:
..[snip]..
> <dead_acute> is on the semi-colon key and <dead_horn> is on the same
> key, shifted, the colon key.
>
> <dead_grave> is on the single-quote key and <dead_ogonek> is on the
> double-quote key.
>
> That's a pretty good layout. I like it.
>
> Why not name these keysyms <dead_psili> and <dead_dasia>?
Because the list of keysyms is fixed, as defined in
/usr/include/X11/keysymdef.h. At the time, using arbitrary existing
keysyms made more sense than petitioning for "correctly-named" new
ones. It works, after all. But OK, now maybe it's time to ask for a
few new names if people are annoyed by the current state of affairs.
> Anyway, I activate the gr keymap like this:
>
> setxkbmap "us,gr(polytonic)" -option "grp:alt_shift_toggle"
>
> The command syntax is troublesome. There seem to be other ways of
> doing it. Maybe I'm wrong, but it seems to work.
The canonical invocation would be:
setxkbmap -layout us,gr -variant ,polytonic \
-option grp:alt_shift_toggle
> Yes, the keymap is there, I can see it on the task bar. To switch to
> another group, I can use the alt_shift combination (another meta
> symbol? Where are all these symbols defined?).
In /etc/X11/xkb, rules/xorg transforms grp:alt_shift_toggle to
group(alt_shift_toggle). So you can look at the relevant section in
symbols/group to see how this implements the layout switching. It all
boils down to the generation of the ISO_Next_Group and ISO_Prev_Group
keysyms.
> Yes, I can enter greek characters. The <dead_acute> seems to work, but
> I am not sure if it is outputting a tonos or a acute. It's probably a
> tonos.
>
> None of the other dead keys seem to work.
>
> Any ideas?
For the others to work, you need to have at least
LC_CTYPE=el_GR.UTF-8. In my system, with LANG=el_GR.UTF-8, everything
is working as it should. Keep in mind that for GTK+ applications you
also need GTK_IM_MODULE=xim defined (or else you have to right-click
on each textbox, and select Input Methods -> X Input Method).
--
Vasilis Vasaitis
"A man is well or woe as he thinks himself so."
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/