[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: setxkbmap crashes Xorg

Seb ha scritto:

Has anybody found a work-around bug #462243
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462243).  It was
merged with an upstream bug in Xorg
(https://bugs.freedesktop.org/show_bug.cgi?id=14162).  It happens in my
Debian sid system, with a M$ Natural Ergonomic (4000 v1.0) keyboard,
whenever setxkbmap is called.  I do this through kde's keyboard layout
in control center, and X simply crashes.  It also happens with a mere
call to setxkbmap on the command line without args.

I have this relevant entry in xorg.conf:

,-----[ xorg.conf (lines: 50 - 57) ]
| Section "InputDevice"
| | # generated from default
|     Identifier     "Keyboard0"
|     Driver         "kbd"
|     Option         "XkbModel" "microsoftpro"
| EndSection

This has completely crippled the ability to change keyboard layout
between languages, so any ideas are welcome.  Thanks.

You don't need setxkbmap to switch between different keyboard layouts. I also use KDE, but I prefer to use kkbswitch and set up X as follows:

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules"     "xorg"
 Option "XkbModel"     "pc104"
 Option "XkbLayout"    "it,se"
 Option "XkbOptions"   "grp:shifts_toggle,compose:menu,lv3:rwin_switch"


A tautology is a thing which is tautological.
Time flies like an arrow.  Fruit flies like a banana.

Reply to: