GNOME Bugzilla – Bug 356866
gswitchit in the name of group indicates "Group 0"
Last modified: 2006-09-21 17:10:17 UTC
Please describe the problem: In gswitchit applet instead of the name of group "Group 0", "Group 1" appear. I have libxkbfile-X11R7.1-1.0.3.tar.bz2 libxkbui-X11R7.1-1.0.2.tar.bz2 setxkbmap-X11R7.1-1.0.2.tar.bz2 xkbcomp-X11R7.1-1.0.2.tar.bz2 xkbevd-X11R7.1-1.0.2.tar.bz2 xkbdata-X11R7.0-1.0.1.tar.bz2 xkbprint-X11R7.0-1.0.1.tar.bz2 xkbutils-X11R7.0-1.0.1.tar.bz2 Xorg-7.1.1 GNOME 2.16 libxklavier-3.0 installed. All the packages were compiled from sources. XKB configuration: xprop -root | grep XKB _XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc104", "us,ru(winkeys)", "", "grp:ctrl_shift_toggle" _XKB_RULES_NAMES(STRING) = "xorg", "pc104", "us,ru(winkeys)", "", "grp:ctrl_shift_toggle" "gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd" command displays different results for different users: User#1 gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd layouts = [us,ru winkeys] model = pc104 overrideSettings = false options = [grp grp:ctrl_shift_toggle] User#2 gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd layouts = [] model = overrideSettings = false options = [] Here is part of Xorg.0.log: (**) Option "XkbRules" "xorg" (**) Keyboard1: XkbRules: "xorg" (**) Option "XkbModel" "pc104" (**) Keyboard1: XkbModel: "pc104" (**) Option "XkbLayout" "us,ru(winkeys)" (**) Keyboard1: XkbLayout: "us,ru(winkeys)" (**) Option "XkbOptions" "grp:ctrl_shift_toggle" (**) Keyboard1: XkbOptions: "grp:ctrl_shift_toggle" (**) Option "CustomKeycodes" "off" (**) Keyboard1: CustomKeycodes disabled (II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD) (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) xkb_keycodes { include "xfree86+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compatibility { include "complete" }; xkb_symbols { include "pc/pc(pc104)+pc/us+pc/ru(winkeys):2+group(ctrl_shift_toggle)+group(ctrl_shift_toggle)" }; xkb_geometry { include "pc(pc104)" }; Steps to reproduce: Actual results: Expected results: Does this happen every time? Always Other information:
What is the contents of /etc/X11/xkb/rules? Could you please report ls -l?
ls -l (in /etc/X11/xkb/rules) -rw-r--r-- 1 root root 110 2006-01-06 14:34 README -rw-r--r-- 1 root root 3096 2006-01-06 14:34 sgi -rw-r--r-- 1 root root 2525 2006-01-06 14:34 sgi.lst -rw-r--r-- 1 root root 1662 2006-01-06 14:34 sun -rw-r--r-- 1 root root 1748 2006-01-06 14:34 sun.lst -rw-r--r-- 1 root root 781 2006-01-06 14:34 xfree98 -rw-r--r-- 1 root root 817 2006-01-06 14:34 xfree98.lst -rw-r--r-- 1 root root 840 2006-01-06 14:34 xkb.dtd -rw-r--r-- 1 root root 7309 2006-01-06 14:34 xml2lst.pl -rw-r--r-- 1 root root 40517 2006-01-06 14:34 xorg -rw-r--r-- 1 root root 1443 2006-01-06 14:34 xorg-it.lst -rw-r--r-- 1 root root 17393 2006-01-06 14:34 xorg.lst -rw-r--r-- 1 root root 469372 2006-01-06 14:34 xorg.xml I have also directory /usr/X11/lib/X11/xkb/rules ls -l (in /usr/X11/lib/X11/xkb/rules) -rw-r--r-- 1 root root 38077 2006-08-16 21:45 base -rw-r--r-- 1 root root 20418 2006-08-16 21:45 base.lst -rw-r--r-- 1 root root 798574 2006-08-16 21:45 base.xml -rw-r--r-- 1 root root 91 2006-08-16 21:45 README -rw-r--r-- 1 root root 3247 2006-08-16 21:45 sgi -rw-r--r-- 1 root root 2342 2006-08-16 21:45 sun -rw-r--r-- 1 root root 782 2006-08-16 21:45 xfree98 -rw-r--r-- 1 root root 1147 2006-08-16 21:45 xkb.dtd Should I delete one of those directories?
Do not delete anything. Just sync them. Apparently your X installation is broken (There is no xorg/xorg.xml files in /usr/X11/lib/X11/xkb/rules), xkeyboard-config was installed into wrong directory (into /usr but not /etc) - and it apparently lacks compatibility symlinks (xorg/xorg.lst/xorg.xml). So fix your configuration:)
I don't have xkeyboard-config module installed. I have only these modules: libxkbfile-X11R7.1-1.0.3.tar.bz2 libxkbui-X11R7.1-1.0.2.tar.bz2 setxkbmap-X11R7.1-1.0.2.tar.bz2 xkbcomp-X11R7.1-1.0.2.tar.bz2 xkbevd-X11R7.1-1.0.2.tar.bz2 xkbdata-X11R7.0-1.0.1.tar.bz2 xkbprint-X11R7.0-1.0.1.tar.bz2 xkbutils-X11R7.0-1.0.1.tar.bz2 Should I install xkeyboard-config? Is xkeyboard-config included in xorg?
I think you do have xkeyboard-config - otherwise there would not be /usr/X11/lib/X11/xkb/rules/base. Actually I would recommend installing xkeyboard-config (again?) instead of xkbdata
I have installed the xkeyboard-config module before but I don't use it now. Should I install xkeyboard-config module in /etc ?
I think it could be a good idea. And get rid of /usr stuff - or symlink it.