You are not logged in.

#1 2007-03-10 11:49:31

s26c.sayan
Member
From: Kolkata, India
Registered: 2007-02-07
Posts: 176
Website

How to add secondary keyboard layout??

Hi!!!
How do I set an alternative keyboard layout in Arch?
I use the EN_US layout in general, but sometimes need to use the layout for my native tongue (bengali).
HOw do i setup and switch the layouts easily??

Back in Ubuntu, it was quite easy to do so, using a GUI. But here in Arch , I guess I need to do it using good ol' CLI. Not that I have a problem with that...but the question is HOW can I do it?? sad


March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)

Offline

#2 2007-03-10 13:33:04

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: How to add secondary keyboard layout??

Depends. Using Gnome or KDE? Those have this functionality builtin. A simpler WM or DE? You need to edit the xorg.conf for that. What is your setup?


Todays mistakes are tomorrows catastrophes.

Offline

#3 2007-03-10 14:08:46

zeus
Member
From: Korolev / Russia
Registered: 2006-09-19
Posts: 117
Website

Re: How to add secondary keyboard layout??

e.g.:

    Option "XkbRules"   "xorg"
    Option "XkbModel"   "latitude"
    Option "XkbLayout"  "us,ru(winkeys)"
    Option "XkbOptions" "grp:caps_toggle,grp:alt_shift_toggle,grp_led:scroll"

Offline

#4 2007-03-11 14:42:12

Sekre
Member
From: The Rainy North
Registered: 2006-11-24
Posts: 116

Re: How to add secondary keyboard layout??

I will borrow this thread for a sec,

if you do it in xorg.conf, how would you then change?
If you for example use openbox or the like.

Offline

#5 2007-03-11 19:53:32

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: How to add secondary keyboard layout??

Sekre: You mean change keyboard layouts?
It depends on the XkbOptions line. If you use zeus's config, the keymap is toggled by pressing alt and shift at the same time (grp:alt_shift_toggle) or by pressing the cap lock  (I think thats what grp:caps_toggle do).

I use
Option "XkbOptions" "grp:shifts_toggle"
so when I press both shift keys at the same time, the keymap is toggled.

Offline

Board footer

Powered by FluxBB