Step by step for keyboard language switching

For efforts in internationalising Puppy and solving problems in this area
Post Reply
Message
Author
User avatar
dewdrop
Posts: 298
Joined: Tue 30 Aug 2005, 01:54
Location: Texas USA

Step by step for keyboard language switching

#1 Post by dewdrop »

Hi,

HOW TO: Change a keyboard from English to Spanish or Spanish to English using the method described by lior2b in this thread:

http://www.murga-linux.com/puppy/viewto ... highlight=

Because the information was originally intended for the Puppy 1.xx series, some of the steps are no longer required. The steps below should accomplish the same result.

This information is only useful if you are using the Xorg screen.....it will not work with Xvesa.

1. Go to /etc/X11 in ROX-filer ( Open the Home Icon on the desktop, then click the up arrow in the upper left hand corner).

2. When you open X11, you will see a document entitled xorg.conf.

3. Double click on that document and it will open in geany.

4. Scroll down the document until you come to the section beginning as follows:

Section "InputDevice"
Identifier "Keyboard0"

5. Erase that section and replace it with the following:

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,latam"
### CHANGE latam TO YOUR LANGUAGE CODE ###
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll,caps:shift,altwin:menu"
EndSection

6. Save this information using the same name it had before.... in the same place as before.

xorg.conf

7. Close geany.

8. Restart Puppy 2.12.

9. To test if the keyboard will now switch between languages, click and hold the left SHIFT key, and hit the ALT key at the same time. Release those 2 keys. You should now be able to get the ñ, and the vowels with accents....á, é, í, ó, ú.

There is a series of 3 lights on the upper right side of the keyboard. One light is for the number keypad, one light is for indicating that the keyboard is typing all capital letters, and the 3rd light will light when you are able to type in Spanish, and be off when you are using the keyboard for English.

dewdrop

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

#2 Post by Dougal »

I've actually written an application to do all that for you... I'll be posting it in a few days.
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

User avatar
lickthefrog2
Posts: 57
Joined: Wed 22 Nov 2006, 18:30

#3 Post by lickthefrog2 »

I'll vote for it, Dougal.

I'd like to be able to switch between US and Dvorak on the fly.

Maybe it's already posted...I'm going to search...

User avatar
lickthefrog2
Posts: 57
Joined: Wed 22 Nov 2006, 18:30

#4 Post by lickthefrog2 »


Post Reply