« Return to Thread: keyboard switch

Re: keyboard switch

by Ken Moffat-4 :: Rate this Message:

Reply to Author | View in Thread

On Mon, Nov 06, 2006 at 12:33:50PM +0100, asrael wrote:
> Hi everybody
>

 Hi.

> I'm using Icewm for quite a while. Very nice thing to have...
> There's one thing though that bothers me and forces me to switch to
> gnome desktop ... it's switching the keyboard layout.
>
> I'm not very pro in linux, but managed to add the following lines to my
> xorg.conf
>
> Option          "XkbLayout"     "us,de"
> Option          "XkbOptions"    "grp:alt_shift_toggle,grp_led:scroll"
>
> so now i got two layouts to "toggle"
>

 Nice, I guess you are familiar with both layouts, so that is good.
 
> but the thing is, i'd need about 4 or 5. plus French layout, Arabic and
> Russian, too. This would be the maximum for the next 4 years i guess.
> maybe Spanish some day as well ;-)
>

 For anything not using a variant of the latin alphabet, using
alternate keyboard layouts sounds like the way to go (except for
languages using scripts, like arabic -for that you might want to look
at the available gtk2 input methods, and XIM, for your gtk2 apps.

 BUT, if you change the keyboard layout, you'd better be familiar
with how it looks (or have a real keyboard in that layout handy).
For me, using a real qwertz keyboard (instead of qwerty) isn't too
bad, but azerty was very difficult.

 In the meantime, there are other ways of writing the accented
letters you need for latin alphabets, like ä, á, à, â, ç, ñ, ß and
even some others like æ, ð, þ, ő, ā, ą, č, ł - provided you are
using UTF-8 locales.

 The US keyboard layout in X includes dead keys and compose keys.
See /usr/lib/X11/locale/en_US.UTF-8/Compose if your X is in /usr
(you probably need to be using at least xorg 6.9 for this to work
correctly, I got it working on a slightly older version, but only by
adding some key AltGr definitions to my Xmodmap).

 I'm using the en_GB layout.  Some of these characters are accessed
directly with AltGr + letter (s for ß), some use AltGr + symbol as a
dead key, e.g. AltGr + ; for dead_acute,  AltGr + Shift + [ for dead
ring (åů), and for others you need to define a compose key (Multi_key)
in Xmodmap (and in xorg.conf for gtk2 apps).

 I prepared a hint on this for linuxfromscratch last month (because
I'd like to study some languages, and make notes using the keyboard
instead of pen and paper), it probably contains more detail than
you'll ever want, but it might be helpful.  It's at
http://www.kenmoffat.uklinux.net/hints/Accented_Latin-UTF-8.txt

 Unfortunately, it won't help with cyrillic (or greek) alphabets,
but you may find it saves you having to learn some of the keyboard
layouts.
> so in gnome desktop thingy i can add a switch in the panel. is there
> anything like that in Icewm? Coz in my actual setting i got 2 layouts
> and the scroll led indicating which is on. with more than 2 layouts it'd
> get confusing, and anyway i didn't find alternatives to "toggle" ....
>

 That is an interesting question, let us hope someone knows an
answer !

ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
IceWM-user mailing list
IceWM-user@...
https://lists.sourceforge.net/lists/listinfo/icewm-user

 « Return to Thread: keyboard switch