How to switch between two keyboard layouts? <SOLVED>

Using applications, configuring, problems
Post Reply
Message
Author
richhard
Posts: 51
Joined: Mon 23 Jul 2007, 03:06

How to switch between two keyboard layouts? <SOLVED>

#1 Post by richhard »

I would like to use two different keyboards:
- English, to write English text (open office)
- Thai to write Thai text

Thai font seems to be available: the Opera browser shows the
Thai pages correct ( I copied the M$ fonts :-)
I would like to easy switch between this two options.
Any help or hint how to do this is welcome 8)
Last edited by richhard on Fri 23 Nov 2007, 09:15, edited 1 time in total.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#2 Post by muggins »

does this look suitable?

http://fresh.t-systems-sfr.com/linux/sr ... oc-english

I just compiled it now, but haven't had any luck with the lesstif gui.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#3 Post by muggins »


User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#4 Post by Dougal »

Settings --> Mouse/keyboard wizard --> advanced keyboard config
Then add (i) a thai layout and (ii) a modifier (such as alt_shift).
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

richhard
Posts: 51
Joined: Mon 23 Jul 2007, 03:06

#5 Post by richhard »

thanks for the hints. As I am not an expert and lazy,
I would like to try first the easy option from Dougal :)
what I did:
Puppy Setup --> Mouse/keyboard wizard --> advanced keyboard config
and then add the Thai keyboard

What I can't find out:
how to make the modifier such as alt_shift :?
please could you explain?

richhard
Posts: 51
Joined: Mon 23 Jul 2007, 03:06

#6 Post by richhard »

I got it:

Puppy Setup --> Mouse/keyboard wizard --> advanced Xorg keyboard config
1) add the required "Layout" and "LayoutVariants"
2) Options --> "Group Shift/Lock" here select keys to switch keyboard
--> "Use keyboard LED" here select LED to show alternate

now it works almost perfect: I can quick and easy change with "alt-shift" :lol:
But almost means: the "no dead-key" option is not working (as now I have dead keys) :(
Has anyone a good idea how to fix this??

richhard
Posts: 51
Joined: Mon 23 Jul 2007, 03:06

#7 Post by richhard »

I could fix this also :D
my "/etc/X11/xorg.conf" file:

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "ch,th" #xkeymap0
Option "XkbVariant" "de_nodeadkeys,tis"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection

in the line:
Option "XkbVariant" "de_nodeadkeys,tis" <=== here
I had to insert a second variant: ",tis"
and now it works perfect !!!

open question: why the wizzard created a not correct working version?? :?

Vaklin
Posts: 35
Joined: Thu 08 Nov 2007, 18:58
Location: Bulgaria, Europe

#8 Post by Vaklin »

Is possible to do this in Xvesa, because I still can't find suitable video driver for Xorg?

Post Reply