* Alexandros Droseltis <[EMAIL PROTECTED]>  3. Feb 07:
> I am using the following function to switch my keyboard between german
> and greek:
> [snip]
> 
> Is it possible to create the same function whithout the PipeRead and the
> shell variable $kbd_layout?

Your XServer (at least Xorg, but I think even XFree) can do this on its
own.  I use it to switch between de and dvorak:

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "kbd"
        Option          "XkbLayout" "de,dvorak"
        Option          "XkbVariant" "nodeadkeys,"
        Option          "XkbOptions" "grp:alt_shift_toggle"
        Option          "XkbModel" "pc105"
EndSection

You have to press shift + meta to toggle.  I don't know if you can bind
a changing button to do this.

Kind regards,
 Frank.
-- 
Sigmentation fault

Attachment: signature.asc
Description: Digital signature

Reply via email to