Today morning just used xorg/xfce4/firefox/konqueror/kontact/ooffice/xmms and browsed the www, while compiling (-uD world - IMHO it's unrelated). Just closed all tabs in firefox (maybe it's unrelated too), and then noticed that my mouse buttons (and the wheel) stopped working (there was some beep, but it could be emerge too...). I got the cursor (the default arrow), I can move it, but I can't click (with results) any of my buttons. Just switched to console (C+A+F1), and started gpm, and it worked - so it should be a Xorg problem? I don't want to restart X for some 5-6 hours ... Just figured it out: ~ $ egrep -i key .xsession-errors ** (xfwm4:16822): CRITICAL **: myScreenUngrabKeyboard: assertion `screen_info->key_grabs > 0' failed ** (xfwm4:16822): CRITICAL **: myScreenUngrabKeyboard: assertion `screen_info->key_grabs > 0' failed ~ $ killall xfwm4 && xfwm4 & And I got my mouse back. Find this on the web (but as I'm not a programmer maybe these are unrelated too...): https://www.redhat.com/archives/fedora-cvs-commits/2005-April/msg00019.html https://www.redhat.com/archives/fedora-extras-commits/2005-March/msg01981.html I'm using: xfwm4 -V This is xfwm4 version 4.2.1 for Xfce 4.2.1 built with GTK+-2.6.4, linked with GTK+-2.6.4. Reproducible: Didn't try Steps to Reproduce: 1. 2. 3. $ sudo emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 09:47:46)] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.9.5, 1.8.5-r3, 1.6.3, 1.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages noinfo sandbox sfperms" GENTOO_MIRRORS="http://192.168.5.144:13579/ http://192.168.5.138:13579/ http://intranet.online.hu/ http://gentoo.inode.at/ http://gentoo.mirror.icd.hu/ http://gentoo.math.bme.hu/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="hu_HU.UTF-8" LINGUAS="en hu" MAKEOPTS="-j2 -s" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm arts avi bash-completion berkdb bitmap-fonts bonobo cdr crypt cups curl directfb emboss encode esd fam flac foomaticdb fortran gd gdbm gif gphoto2 gpm gtk gtk2 gtkhtml guile hal imagemagick imlib ipv6 java jikes jpeg junit kde kdeenablefinal kdexdeltas libg++ libwww mad maildir mbox mikmod motif mozilla mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline ruby samba sdl slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles vorbis xml xml2 xmms xv zlib linguas_en linguas_hu" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
After some work realised, that sometimes the keyboard goes "off" with simillar .xsession errors as the mouse :-(
please try 4.2.2
closing until tested with new version