Bug#345644: Solution

2006-01-05 Thread Linas Zvirblis
I should have reported this bug against xlibs. I managed to solve the 
problem by using data from xkb-data (experimental).


After doing...

 export XKBPATH=/etc/X11/xkb-data
 setxkbmap -layout us,lt,ru\(phonetic\) \
  -option 'grp:shift_toggle' -print | xkbcomp -w - :0

...hitting both shifts now correctly changes layout...

 export XKBPATH=/etc/X11/xkb
 setxkbmap -layout us,lt,ru\(phonetic\) \
  -option 'grp:shift_toggle' -print | xkbcomp -w - :0

...breaks it again.

I will repeat myself to make sure it is clear. In both cases I can do...

 setxkbmap -layout whatever

...to switch layouts and it will work. The only thing that does not work 
is grp_anything.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#345644: Keyboard layout switching does not work

2006-01-02 Thread Linas Zvirblis
Package: xserver-xorg
Version: 6.9.0.dfsg.1-1
Severity: normal

After upgrading to 6.9.0.dfsg.1-1 (from previous unstable, never used 
experimental)
keyboard layout switching does not work anymore. I can still change layouts with
setxkbmap and it works fine, but any settting of grp:anything_toggle seems to be
ignored completely, even if called with setxkbmap. I also tested this in plain 
X,
without a window manager, to make sure that it does not get in a way.

This problem is NOT the same as reported previously about broken VT switching. 
VT
switching works fine and I am not experiencing any other problems with keyboard.


-- Package-specific info:
Contents of /var/lib/xfree86/X.roster:
xserver-xorg

/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.

X server symlink status:
lrwxrwxrwx 1 root root 17 2005-07-13 21:46 /etc/X11/X -> /usr/bin/X11/Xorg
-rwxr-xr-x 1 root root 1852284 2005-12-29 09:38 /usr/bin/X11/Xorg

Contents of /var/lib/xfree86/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
:01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX 
100 DDR/200 DDR] (rev b2)

/etc/X11/xorg.conf does not match checksum in /var/lib/xfree86/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 2472 2006-01-02 02:45 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:

Section "Files"
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath"/usr/lib/X11/fonts/TrueType"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/misc/:unscaled"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
EndSection

Section "Module"
Load"dbe"
Load"ddc"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"type1"
Load"vbe"
EndSection

Section "Extensions"
Option  "Composite" "enable"
EndSection

Section "ServerFlags"
Option  "Standbytime"   "5"
Option  "SuspendTime"   "6"
Option  "OffTime"   "7"
Option  "Pixmap""32"
Endsection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "CoreKeyboard"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc104"
Option  "XkbLayout" "us,lt,ru(phonetic)"
Option  "XkbOptions""grp:shift_toggle"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/gpmdata"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "false"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Device"
Identifier  "Daytona GeForce 2 MX200 32MB DDR"
Driver  "nvidia"
Option  "NvAGP" "1"
Option  "LoadKernelModule"  "true"
Option  "NoLogo""true"
Option  "RenderAccel"   "true"
Option  "AllowGLXWithComposite" "true"
Option  "DigitalVibrance"   "100"
Option  "HWCursor"  "true"
Option  "ConnectedMonitor"  "CRT"
Option  "IgnoreDisplayDevices"  "DFP, TV"
EndSection

Section "Monitor"
Identifier  "MAG XJ810 CRT"
Option  "DPMS"
HorizSync   30-100
VertRefresh 50-160
DisplaySize 360 270
Modeline"1280x1024" 157.50 1280 1344 1504 1756 1024 1025 
1028 1104 +hsync +vsync
EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "Daytona GeForce 2 MX200 32MB DDR"
Monitor "MAG XJ810 CRT"
DefaultDepth24
SubSection "Display"
Depth   8
Modes   "1280x1024" "1152x864" "1024x768" "800x600" 
"640x480"
EndSubSection
SubSection "Display"
Depth   16
Modes   "1280x1024" "1152x864" "1024x768" "800x600" 
"640x480"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1280x1024" "1152x864" "1024x768" "800x600" 
"640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection


Xorg X server log files on system:
-rw-r- 1 root root 26609 2005-07-18 17:29 /var/log/Xo