Adding a 2nd keyboard layout - SOLVED!

Booting, installing, newbie
Post Reply
Message
Author
User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

Adding a 2nd keyboard layout - SOLVED!

#1 Post by wimpy »

I've added the Spanish Keyboard via the mouse/keyboard wizard in setup Via setup I've also added the scroll lock light as a keyboard indicator and a switch toggle using the Right Alt key.
The only snag is that pressing the Right Alt key toggles the 2nd keyboard but untoggles as soon as it is released. This make typing on the 2nd keyboard somewhat difficult
This is my xorg. conf keyboard section

Code: Select all

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules" "xorg"
	Option      "XkbModel" "pc102"
	Option      "XkbLayout" "gb,es" #xkeymap0
	Option 		"XkbOptions"   "compose:menu,grp_led:scroll,grp:toggle"
EndSection
I would add that I have not manually altered the conf file.
Any help would be greatly appreciated.
Last edited by wimpy on Thu 22 Nov 2012, 18:03, edited 3 times in total.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#2 Post by darkcity »

I'm not sure if you mean a second physical keyboard, or a second keyboard layout.

If its the later I use fbxkb, which toggles via flag on the panel bar.

http://puppylinux.org/wikka/fbxkb

; -)

User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

#3 Post by wimpy »

Hi, darkcity
Thanks for the reply. I've changed the thread topic to "Adding a 2nd keyboard layout" after your post.
fbxkb is super. I was hoping to get rid of it since I had the Scroll Lock light as an indicator. I'm keeping it running until I can sort out the so-called keyboard toggling.
EDIT For some reason the xorg.conf seemed to have the wrong setting for the toggle. I went in and re-ran the ketboard/mouse setup. Even though it said I was on Right Alt as the toggle I chose that again and saved. This time xorg.conf had the right phrase (grp:toggle). Now hitting the Right Alt key will change to the 2nd keyboard permanently, since hitting it again has no effect, so I'll still need to use fbxkb to switch back. Nearly there, :)
Last edited by wimpy on Thu 22 Nov 2012, 17:33, edited 2 times in total.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

Jim1938
Posts: 10
Joined: Wed 21 Nov 2012, 16:05

#4 Post by Jim1938 »

Hi Wimpy,

I think we are working on the same issue,
just different languages and different Pups.

I hope you get your answer and if so
please post it.

see my post "Duel Languages"

Jim1938

User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

#5 Post by wimpy »

I went in and changed the group toggle key to Alt Shift (elsewhere I read that the Shift has to be pressed first). This time the toggle keys do a real toggle and will toggle to the 2nd keyboard and back to the first when required. YAY!. I'll mark this thread as solved.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#6 Post by darkcity »

nice work, link thread to wiki ; -)

http://puppylinux.org/wikka/InputDevices

Post Reply