Summary: | KDE menu broken and kcontrol empty | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Keith Gable <ziggy> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | coolsuggies, david.e.pi.3.14, jakub, parallelgrapefruit, ziggy |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | killkde.sh |
Description
Keith Gable
2007-01-12 15:14:07 UTC
-prod- Anyone home? This bug is fixing to cause me to go on a murderous rampage. x86 team has nothing to do with this, so please don't add us. After deleting all of these directories and starting a KDE session (running KPersonalizer), the menus come back, but something triggers them to disappear periodically. The only thing I ever do is configure Amarok and fix the ginormous fonts. Also. Uh. I totally thought that x86@ would be involved. Sorry. -_- Okay, it's done it again. Things I've done up to this point that might be significant: - Started GNOME Control Center from XFCE - Launched Amarok and configured it Try after removing the xeffects overlay and rebuilding your entire KDE packages, that overlay is known to contain broken ebuilds. This problem also occurs on a machine that lacks any overlays. By Googling the specific error message, it can be determined that it happens in many distros. I can't seem to reproduce this, but I do have a workaround script (side effects: lost KDE settings, but not amaroK settings/library). It seems to be related to gnome-control-center and possibly the GNOME Menu Editor. I'll post my workaround script. Created attachment 108529 [details]
killkde.sh
Script to remove almost all of KDE/Qt's settings. Also deletes ~/.config/menus/*, even though that directory is usually empty for me.
It should also be noted that I'm using XFCE as my panel, Nautilus as my desktop, and Emerald as my WM. This problem occurs with just XFCE as my panel, using XFWM4 as my WM, and xfdesktop as my desktop. It only seems to occur after a GNOME app says something about not being able to communicate with the configuration manager, which seems to happen at random times. But then again, I've also had it happen when this error did _not_ show up. (In reply to comment #8) > It should also be noted that I'm using XFCE as my panel, Nautilus as my > desktop, and Emerald as my WM. This problem occurs with just XFCE as my panel, > using XFWM4 as my WM, and xfdesktop as my desktop. It only seems to occur after > a GNOME app says something about not being able to communicate with the > configuration manager, which seems to happen at random times. But then again, > I've also had it happen when this error did _not_ show up. > I fail to see what does the above XFCE/Gnome/Emerald mixture mess have in common with KDE, and also don't see anyone going to reproduce such crazy setup. Sorry, reopen once you've figured out something or if you can reproduce this in standard KDE environment. Can you be a little more detailed? What menu's are disappearing? The control center menus disappear, and the menus in Kicker disappear. I *think* it has something to do with the XDG path getting messed up. Googling will indicate that it happens weirdly on other distros too, and it has to deal with upgrading KDE. All of the menus for KDE disappear. I still see apps that are elsewhere (/usr/share/applications, for example). Anyways, it does it still with a purely XFCE environment too. I think starting GNOME Control Center has something to do with it. A pure KDE environment doesn't seem to cause this, but I have no idea why it would make any difference if kcontrol goofs up. kded runs though. Reopening. I will see if I can make KDE do this repeatedly. What I do not understand is if you are running a pure XFCE environment--how do you know if kicker menus disappear? (In reply to comment #11) Ugh, what are you running? KDE, XFCE or Gnome? Attach a *screenshot* of your 'menus' issue. Oh. I'm terribly sorry for not making sense. -_- I run XFCE normally, but I run a lot of KDE apps. So I run the KDE core stuff too (the "Start KDE Services" checkbox in XFCE's settings). I only need kcontrol every once in a while, but every time I do, it doesn't work (there are no control panels or menus in kcontrol), and I have to run my killkde.sh script. I ran that when I posted my previous comment. It's working now, and I'm trying to figure out what I keep doing that keeps causing the menus to stop working. I know kicker doesn't show the menus when kcontrol fails because when kcontrol failed before, I logged into KDE to see if maybe it was how I have my desktop setup or something. And I noticed then that KDE didn't show menus either. Ah! Here's what I'm doing to reproduce this: (prerequisite: XFCE Session Sessions has "start GNOME services" and "start KDE services" checked) 1) Log into XFCE 2) ~/killkde.sh 3) kcontrol -> notice it IS working 4) Log out of XFCE 5) Log into XFCE 6) kcontrol -> not working 7) Log out of XFCE, log into KDE 8) kicker -> not working (where "not working" means "no or few menus") I am *not* saving my XFCE session on logout, but I don't think this has anything to do with it. I'm going to continue by testing: 1) unchecking "Start GNOME services" 2) saving my session on logout does running kbuildsycoca -noincremental work instead of your killkde script? Running that doesn't fix the problem. From my Googling it looks like that usually fixes the problem though. WHat verison of kde are you using? I think there was some fixes in recent versions wrt xdg stuff but I cannot remember Checking "Save session for future logins" once after fixing KDE and logging out seems to have fixed it. I can no longer make it stop working by logging in/out/in. So. I guess that this can be resolved again. But I'm not confident it'll stay working... -_- If it doesn't, what should I do to try and help figure this problem out? Also, I'm on kde-meta-3.5.5. (oh: I never mentioned the error! holy crap batman! it's "kcontrol: WARNING: No K menu group with X-KDE-BaseGroup=settings found ! Defaulting to Settings/") (In reply to comment #18) > WHat verison of kde are you using? I think there was some fixes in recent > versions wrt xdg stuff but I cannot remember Yeah, you need kdelibs-3.5.6 to see the menu items in other DEs (and you need xfce-utils-4.4.0-r3 as well when using the Xfce4 session to start XFCE); other than that, really no clue. $ cat /etc/env.d/45kdepaths-3.5 PATH=/usr/kde/3.5/bin ROOTPATH=/usr/kde/3.5/sbin:/usr/kde/3.5/bin LDPATH=/usr/kde/3.5/lib CONFIG_PROTECT="/usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/share/config" KDEDIRS="/usr/kde/3.5:/usr:/usr/local" #KDE_IS_PRELINKED=1 XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share" COLON_SEPARATED="XDG_DATA_DIRS" (In reply to comment #19) > So. I guess that this can be resolved again. But I'm not confident it'll stay > working... -_- If it doesn't, what should I do to try and help figure this > problem out? Really no idea, maybe use a less crazy setup or new user profile? :) I am affected by this one too (same issues and same error message as Keith). I am using gnome-2.22.3 and have kcontrol (3.5.9) just to set up kile for a slightly better visual integration. I am able to workaround this by doing a: mv ~/.local ~/.local-old mv ~/.config ~/.config-old kbuildsycoca --noincremental mv ~/.local-old ~/.local mv ~/.config-old ~/.config then I am able to use kcontrol until I run "alacarte" (the GNOME menu editor): after that the bug shows up again. It seems that this bug is somehow related to nautilus and/or alacarte as I have another Gentoo box with XFCE and the same KDE packages which is not effected (I have almost the same setup on both). Here is my emerge --info: davide@kerr ~ $ emerge --info Portage 2.1.4.5 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r4 x86_64) ================================================================= System uname: 2.6.26-gentoo-r4 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz Timestamp of tree: Fri, 19 Dec 2008 09:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=nocona -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" FFLAGS="-O2 -march=nocona -pipe" GENTOO_MIRRORS="ftp://ftp.unina.it/pub/linux/distributions/gentoo http://mirror.ing.unibo.it/gentoo/ ftp://mirror.ing.unibo.it/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en it" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/mine /usr/local/portage/layman/science /usr/local/portage/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode fam ffmpeg firefox fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk hal iconv imagemagick ipv6 isdnlog jpeg lapack latex ldap libnotify mad midi mikmod mmx mp3 mpeg msn mudflap multilib ncurses nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python quicktime readline reflection samba sdl session spell spl sqlite sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype unicode usb vim-syntax vorbis xcomposite xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |