Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   how to enable a new keyboard layout (http://www.linux-archive.org/debian-user/712074-how-enable-new-keyboard-layout.html)

Matej Kosik 10-13-2012 02:58 PM

how to enable a new keyboard layout
 
Hi,

On Wheezy, I am trying to enable a new keyboard layout.
Normally, I did it by:
- creating a /usr/share/X11/xorg.conf.d/01-keyboard-layout.conf
file with a following contents:

Section "InputClass"
Identifier "keyboard-layout"
MatchIsKeyboard "on"
Option "XkbLayout" "us, sk"
Option "XkbOptions" "grp:alts_toggle"
EndSection

When I do that and restart Xorg, in /var/log/Xorg.0.log I see:

[ 961.970] (II) evdev: ACPI Virtual Keyboard Device: Configuring as
keyboard
[ 961.970] (**) Option "config_info"
"udev:/sys/devices/virtual/input/input10/event10"
[ 961.970] (**) Option "xkb_rules" "evdev"
[ 961.970] (**) Option "xkb_model" "pc105"
[ 961.970] (**) Option "xkb_layout" "us, sk"
[ 961.970] (**) Option "xkb_variant" ",qwerty"
[ 961.970] (**) Option "xkb_options" "grp:alts_toggle"

but I can't switch keyboard layouts (by pressing both Alt-keys).
I have tried different grp;* options, but without effect.

I would be grateful for any advice how to proceed: how to configure Xorg
so that I can switch keyboard layouts with some convenient
keyboard-shortcut. Thanks in advance.

(When I try this:

setxkbmap sk qwerty

everything seems to work fine.
)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 50798179.4000003@gmail.com">http://lists.debian.org/50798179.4000003@gmail.com

Eike Lantzsch 10-13-2012 03:44 PM

how to enable a new keyboard layout
 
On Saturday 13 October 2012 11:58:01 Matej Kosik wrote:
> Hi,
>
> On Wheezy, I am trying to enable a new keyboard layout.
> Normally, I did it by:
> - creating a /usr/share/X11/xorg.conf.d/01-keyboard-layout.conf
> file with a following contents:
>
> Section "InputClass"
> Identifier "keyboard-layout"
> MatchIsKeyboard "on"
> Option "XkbLayout" "us, sk"
> Option "XkbOptions" "grp:alts_toggle"
> EndSection
>
> When I do that and restart Xorg, in /var/log/Xorg.0.log I see:
>
> [ 961.970] (II) evdev: ACPI Virtual Keyboard Device: Configuring as
> keyboard
> [ 961.970] (**) Option "config_info"
> "udev:/sys/devices/virtual/input/input10/event10"
> [ 961.970] (**) Option "xkb_rules" "evdev"
> [ 961.970] (**) Option "xkb_model" "pc105"
> [ 961.970] (**) Option "xkb_layout" "us, sk"
> [ 961.970] (**) Option "xkb_variant" ",qwerty"
> [ 961.970] (**) Option "xkb_options" "grp:alts_toggle"
>
> but I can't switch keyboard layouts (by pressing both Alt-keys).
> I have tried different grp;* options, but without effect.
is x11-xkb-utils installed?

>
> I would be grateful for any advice how to proceed: how to configure Xorg
> so that I can switch keyboard layouts with some convenient
> keyboard-shortcut. Thanks in advance.
>
> (When I try this:
>
> setxkbmap sk qwerty
>
> everything seems to work fine.
> )
Kind regards
Eike


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201210131244.42759.zp6cge@gmx.net">http://lists.debian.org/201210131244.42759.zp6cge@gmx.net

Matej Kosik 10-13-2012 04:01 PM

how to enable a new keyboard layout
 
On 10/13/2012 04:44 PM, Eike Lantzsch wrote:
> is x11-xkb-utils installed?

That package was installed.
What happened was that Alt-related shortcuts were not working maybe
because notebook spat different codes than usual keyboards do.

When I tried

"grp:shifts_toggle"

that worked fine.

Thank you.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 50799068.9040603@gmail.com">http://lists.debian.org/50799068.9040603@gmail.com


All times are GMT. The time now is 04:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.