Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159147 - probs with keyboard applet and settings manager in gnome 2.16
Summary: probs with keyboard applet and settings manager in gnome 2.16
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-26 09:52 UTC by corvvin
Modified: 2008-03-22 16:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description corvvin 2006-12-26 09:52:07 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8.1.1) Gecko/20061223 BonEcho/2.0.0.1
Build Identifier: 

after upgrade to new GNOME 2.16 problems started with gnome-keyboard-applet
and gnome-settings-manager. I have 4 layouts - English, Russian Phonetic,
Hebrew, Ukrainian Phonetic. the keyboard applet started to show them as
"ru(phonetic)" or "ua(phonetic)" in the tray, instead of 3-letter abbreviation
and that's very annoying. Additionally, when I'm trying to remove or add
layouts, gnome-settings-manager crashed. But often gnome-settings-manager
crashed at random times without any help from keyboard applet, especially when I
ran it and gnome panel from another WM. ie. not from gnome-session

I had to mask new libxklavier, control-center, gnome-session and gnome-applets
in /etc/portage/package.mask to temporary fix that problem:

=x11-libs/libxklavier-3.0-r1
=gnome-base/control-center-2.16.2
=gnome-base/gnome-applets-2.16.2
=gnome-base/gnome-session-2.16.1

One thing more - not sure if it related here, but I have xkbcomp errors in
console during layouts change in gnome-keyboard-applet:

    xkb_compatibility        { include "%" };
    xkb_symbols              { include "%" };
    xkb_geometry             { include "%" };
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Missing Types section in a Keymap file
> Error:            Missing KeyNames section in a Keymap file
>                   Description of Keymap not compiled
Errors from xkbcomp are not fatal to the X server
(EE) Error loading keymap /var/tmp/server-0.xkm
    xkb_keycodes             { include "xfree86+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete+ledscroll(group_lock)" };
    xkb_symbols              { include
"pc(pc105)+ru(phonetic)+group(lwin_switch)+group(alt_shift_toggle)" };
    xkb_geometry             { include "pc(pc105)" };
BOGUS LENGTH in write keyboard desc, expected 5300, got 5304

This error occures even with downgraded packages. here is my default and
perfectly working xkb setup from xorg.conf:

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us,ru(phonetic),il,ua(phonetic)"
	Option      "XkbOptions" "grp:alt_shift_toggle,grp:lwin_switch,grp_led:scroll"
EndSection


Reproducible: Always

Steps to Reproduce:
1.install current stable GNOME
2.use xorg.conf xkb setup from description above
3.add gnome-keyboard-applet, stop/start GNOME with that applet on panel,
see language indication, try to remove/add layouts, check gnome-settings-manager
crashes, check console output for xkbcomp errors.
 

Actual Results:  
bad language indication in applet, gnome-settings-manager crashes, xkbcomp errors.

Expected Results:  
3-letter usual language indication (USA, Isr, Rus, Ukr), no crashes, no errors.

Gentoo Base System version 1.12.6
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4,
2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 AMD Athlon(tm) XP 1600+
Last Sync: Mon, 25 Dec 2006 18:30:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/
http://mirror.switch.ch/mirror/gentoo/
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"
LANG="ru_UA"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac alsa alsa_cards_ali5451 alsa_cards_als4000
alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106
alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371
alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel
alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident
alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem
alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw
alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix
alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty
alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks
alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa
alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter
alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null
alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route
alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol asf
bash-completion berkdb bitmap-fonts cairo caps cdr cli cracklib crypt cups dbus
dlloader dri elibc_glibc emboss esd fam fbcon ffmpeg firefox flac font-server
fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv input_devices_keyboard
input_devices_mouse isdnlog jack jpeg kernel_linux lcms ldap libg++ linguas_ru
logrotate mad mikmod mmx modplug mp3 mpeg ncurses nls nptl nptlonly nvidia ogg
oggvorbis opengl pam pcre perl png ppds pppd python qt qt3 qt4 quicktime
readline reflection sdl session speex spell spl sse ssl tcpd theora threads
truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l video_cards_nv
video_cards_nvidia video_cards_v4l vorbis win32codecs xml xorg xv xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2006-12-26 10:07:56 UTC
hum ... this one's tricky. Couple things:

- could you try going to the latest version of control-center or applets to see if these packages are to blame or not? If you've tried several combinations and you have the only that works, please confirm the versions you have installed.

- We've been having a lot of bugs with gnome and multiple keyboard layouts lately, it's kind of hard to say what's at fault here. If you could open a bug upstream and post all the info you posted here (thanks for all the detail btw), that would help too.

- I'll probably be putting libxklavier-0.3.1 soon. I'd like you to unmask it and give it a try when I commit it, 0.3.0 is already "old".

I'm not very familiar with Xorg's handling of multiple layouts, but maybe you're pushing this new release a bit too far :) Does it work/segfault with, say, only 2 layouts with default options?

Thanks for your time.
Comment 2 corvvin 2006-12-26 18:07:30 UTC
(In reply to comment #1)
> hum ... this one's tricky. Couple things:
> 
> - could you try going to the latest version of control-center or applets to see
> if these packages are to blame or not? If you've tried several combinations and
> you have the only that works, please confirm the versions you have installed.
> 

Problems started after upgrading GNOME from previous to latest stable, i.e. from 2.14 to 2.16. Many different problems, like failure to find dbus address (cured by adding dbus-launch --exit-with-session to .xinitrc), gnome-settings-manager crashes, keyboard applet probs. I can't downgrade or upgrade only one of that 4 packages because they depends on each other. So I can only mask/unmask them all
together.
 
> I'm not very familiar with Xorg's handling of multiple layouts, but maybe
> you're pushing this new release a bit too far :) Does it work/segfault with,
> say, only 2 layouts with default options?
 
but it worked before this new release :)
I've reverted back to latest versions of the packages and reduces number of
layouts in xorg.conf  - same problems, nothing changed.

Thanks for your attention and help 
Comment 3 Mart Raudsepp gentoo-dev 2007-01-04 17:13:10 UTC
for what it's worth - I got the old version of keyboard layout strings back after upgrading gnome-applets to version 2.17.1 (USA instead of us, etc).
I wonder what change fixed it, etc - need to track that down at some point.
Comment 4 corvvin 2007-01-04 18:08:38 UTC
(In reply to comment #3)
> for what it's worth - I got the old version of keyboard layout strings back
> after upgrading gnome-applets to version 2.17.1 (USA instead of us, etc).
> I wonder what change fixed it, etc - need to track that down at some point.
> 

but hmmm 2.17.1 is not in portage, pity
Comment 5 Mart Raudsepp gentoo-dev 2007-01-14 22:02:25 UTC
I have it back working with 2.16 now too. It seems to depend on matching versions of a couple things...
Comment 6 corvvin 2007-01-15 21:02:06 UTC
(In reply to comment #5)

Didn't work for me...
Comment 7 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-12-12 04:28:24 UTC
Is this still reproducible with GNOME 2.20?
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2008-03-22 16:25:10 UTC
If this is still an issue with either Gnome 2.20 or the upcoming 2.22, please don't hesitate to reopen that bug.

Thanks