View previous topic :: View next topic |
Author |
Message |
Saundersx Apprentice
Joined: 11 Apr 2005 Posts: 294
|
Posted: Sun Aug 09, 2009 5:44 pm Post subject: Upgrading to KDE 4.3 from 4.2.x borked the application menu |
|
|
Since upgrading my application menu is empty. Choosing "Applications" from View displays nothing. Also kmenuedit shows nothing and "Restore to System Menu" does nothing. Also it appears my mime-types are messed up, clicking on a text file, image file etc just opens a completely empty "Open with" menu.
So far most of my other settings seem to have carried over but this is a real showstopper |
|
Back to top |
|
|
jms.gentoo Tux's lil' helper
Joined: 07 May 2009 Posts: 102
|
Posted: Sun Aug 09, 2009 6:16 pm Post subject: |
|
|
I do have the same issue.
kde4.2.4 was fine did the upgrade lost the mime-type association and the application menu.
kbuildsycoca4 yield no change.
where could be the iproblem.
How to redo the mime-type association?
How to rebuild the menu?
what other information could be relevant for this case.
info:
I do have
ls /etc/xdg/menus/
kde-4.3-applications.menu kde-information.menu
(looks fine to me)
and the content of
/usr/share/applications/
looks fine with nice litle .desktop files.
grep kde /var/lib/portage/world
kde-base/ark
kde-base/dolphin
kde-base/kaddressbook
kde-base/kate
kde-base/kcachegrind
kde-base/kcalc
kde-base/kde-menu
kde-base/kdebase-startkde
kde-base/kdepim-wizards
kde-base/kdeplasma-addons
kde-base/kdm
kde-base/kimagemapeditor
kde-base/kinfocenter
kde-base/kmail
kde-base/kmenuedit
kde-base/kmix
kde-base/knetworkconf
kde-base/konsole
kde-base/kontact
kde-base/kopete
kde-base/korganizer
kde-base/kruler
kde-base/krunner
kde-base/ksnapshot
kde-base/mimelib
kde-base/okular
kde-base/plasma-apps
kde-base/plasma-workspace
kde-base/powerdevil
kde-base/qtruby
kde-base/solid-hardware
---------------------
emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4jms-3.7 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4jms-3.7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sun, 09 Aug 2009 07:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python: 2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache: 2.4-r7
dev-util/cmake: 2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -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/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect dislocks distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en es fr en"
PKGDIR="/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 ao apm bash-completion berkdb branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups dbus dga directfb dri dv dvb dvd dvdnav dvdr eds emboss encode esd evdev evo exif fam fbcon ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gif gimp glitz gphoto2 gpm gstreamer gtk gzip hal hdri iconv icq icu ieee1394 imagemagick imap imlib ipod ipv6 isdnlog jabber jpeg jpeg2k kde kontact lame laptop lcms ldap libcaca libnotify libwww lm_sensor lzo mad maildir matroska memlimit mhash mikmod mime mmap mmx mng motif mozilla mp3 mp4 mpeg mplayer msn mtp mudflap multilib musepack musicbrainz mysql ncurse ncurses networkmanager nls nptl nptlonly nsplugin nvidia ofx ogg openal openexr opengl openmp oss pam pcmcia pcre pdf perl php plasma png ppds pppd python qt3support qt4 quicktime raw readline reflection scanner sdl session smp speex spell spl sse sse2 ssl ssse3 startup-notification svg sysfs syslog taglib tcpd theora thumbnail tidy tiff truetype unicode usb v4l v4l2 vcd vdpau video vim-syntax vorbis webkit wifi xattr xcb xcomposite xine xml xorg xosd xpm xscreesaver xulrunner xv xvid xvmc yahoo zip 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en es fr en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
|
Back to top |
|
|
jms.gentoo Tux's lil' helper
Joined: 07 May 2009 Posts: 102
|
Posted: Sun Aug 09, 2009 6:29 pm Post subject: |
|
|
Solved for me
rechecking I did rerun
kbuildsycoca4 --noincremental
menu is back to normal mime type as well ,associations fine.
Earlier I forgot the 4 in kbuildsycoca and did run
kbuildsycoca --noincremental
typo and old habit...
|
|
Back to top |
|
|
Saundersx Apprentice
Joined: 11 Apr 2005 Posts: 294
|
Posted: Sun Aug 09, 2009 8:36 pm Post subject: |
|
|
I half-fixed mine, in the /etc/xdg/menus folder I only had this
Code: | applications-merged (folder) kde-4.3-applications.menu kde-information.menu |
so I symlinked applications.menu to kde-4.3-applications.menu and now I have the menu and associations back. BUT I am missing all the stuff I added from my 4.2 menu, all the wine links and other custom stuff plus all the mime changes. |
|
Back to top |
|
|
Saundersx Apprentice
Joined: 11 Apr 2005 Posts: 294
|
Posted: Mon Aug 10, 2009 12:34 am Post subject: |
|
|
Strangely the problem was that a handful of packages weren't being upgraded from emerge -auvD world, I found them by using qlist and upgraded them manually, that fixed the menu issue (deleted the symlink).
However I still lost all my custom additions, does anyone know where kde 4.2.x saved all that? I dont want to have to figure out what all those were. |
|
Back to top |
|
|
jms.gentoo Tux's lil' helper
Joined: 07 May 2009 Posts: 102
|
|
Back to top |
|
|
Saundersx Apprentice
Joined: 11 Apr 2005 Posts: 294
|
Posted: Mon Aug 10, 2009 7:40 pm Post subject: |
|
|
I found the .desktop files in a backup of my /home dir. It appears that this folder - /home/xyz/.local/share/applications was deleted on update. Although I'm not 100% sure of that the files existed right before the update and we gone right after, and I am certain I did not delete them.
I'm not marking this solved as I really don't know what caused the issue and this certainly isn't a fix. |
|
Back to top |
|
|
Almucard n00b
Joined: 23 Jul 2005 Posts: 27
|
Posted: Mon Aug 10, 2009 11:07 pm Post subject: |
|
|
Unfortenlly:
Code: | kbuildsycoca4 --noincremental
|
didn't help for me ...
After I have symlinked applications.menu to kde-4.3-applications.menu associations are working but
application menu (kickoff) is empty. Stange but everything is working on different user.
BTW I have app-cdr/k3b installed (with kde-base/kdelibs-3.5.10-r6 as dependency) _________________ Hellsing... |
|
Back to top |
|
|
Saundersx Apprentice
Joined: 11 Apr 2005 Posts: 294
|
Posted: Tue Aug 11, 2009 1:01 am Post subject: |
|
|
Almucard wrote: | Unfortenlly:
Code: | kbuildsycoca4 --noincremental
|
didn't help for me ...
After I have symlinked applications.menu to kde-4.3-applications.menu associations are working but
application menu (kickoff) is empty. Stange but everything is working on different user.
BTW I have app-cdr/k3b installed (with kde-base/kdelibs-3.5.10-r6 as dependency) |
make sure you have everything upgraded to 4.3, that was my problem. as a real quick'n'dirty way to check try "emerge -pv kde-base/kde-meta" |
|
Back to top |
|
|
Almucard n00b
Joined: 23 Jul 2005 Posts: 27
|
Posted: Tue Aug 11, 2009 9:27 am Post subject: |
|
|
Saundersx wrote: |
make sure you have everything upgraded to 4.3, that was my problem. as a real quick'n'dirty way to check try "emerge -pv kde-base/kde-meta" |
I looks like everything is pretty much updated
Code: |
qlist -vI kde
kde-base/ark-4.3.0
kde-base/automoc-0.9.88
kde-base/dolphin-4.3.0-r1
kde-base/juk-4.3.0
kde-base/kate-4.3.0
kde-base/kcheckpass-4.3.0
kde-base/kcminit-4.3.0
kde-base/kcmshell-4.3.0
kde-base/kcontrol-4.3.0
kde-base/kde-env-4.3.0
kde-base/kdeartwork-desktopthemes-4.3.0
kde-base/kdebase-data-4.3.0
kde-base/kdebase-desktoptheme-4.3.0
kde-base/kdebase-kioslaves-4.3.0
kde-base/kdebase-menu-icons-4.3.0
kde-base/kdebase-pam-7
kde-base/kdebase-startkde-4.3.0
kde-base/kdebase-wallpapers-4.3.0
kde-base/kdelibs-3.5.10-r6
kde-base/kdelibs-4.3.0
kde-base/kdepasswd-4.3.0
kde-base/kdepimlibs-4.3.0
kde-base/kdeplasma-addons-4.3.0
kde-base/kdesu-4.3.0
kde-base/kdialog-4.3.0
kde-base/kdm-4.3.0-r1
kde-base/kdnssd-4.3.0
kde-base/keditbookmarks-4.3.0
kde-base/keditfiletype-4.3.0
kde-base/kephal-4.3.0
kde-base/kfind-4.3.0
kde-base/kglobalaccel-4.3.0
kde-base/khotkeys-4.3.0
kde-base/kioclient-4.3.0
kde-base/kmenuedit-4.3.0
kde-base/kmimetypefinder-4.3.0
kde-base/kmix-4.3.0
kde-base/knotify-4.3.0
kde-base/konqueror-4.3.0-r1
kde-base/konsole-4.3.0
kde-base/kpasswdserver-4.3.0
kde-base/kreadconfig-4.3.0
kde-base/krunner-4.3.0
kde-base/ksmserver-4.3.0
kde-base/ksnapshot-4.3.0
kde-base/ksplash-4.3.0
kde-base/kstars-4.3.0
kde-base/kstartupconfig-4.3.0
kde-base/kstyles-4.3.0
kde-base/ksysguard-4.3.0
kde-base/ktimezoned-4.3.0
kde-base/kurifilter-plugins-4.3.0
kde-base/kwallet-4.3.0
kde-base/kwalletd-4.3.0
kde-base/kwin-4.3.0
kde-base/libkdeedu-4.3.0
kde-base/libknotificationitem-4.3.0
kde-base/libkonq-4.3.0
kde-base/libkworkspace-4.3.0
kde-base/libplasmaclock-4.3.0
kde-base/libtaskmanager-4.3.0
kde-base/nepomuk-4.3.0
kde-base/okular-4.3.0
kde-base/oxygen-icons-4.3.0
kde-base/phonon-kde-4.3.0
kde-base/plasma-apps-4.3.0
kde-base/plasma-workspace-4.3.0
kde-base/pykde4-4.3.0
kde-base/qimageblitz-0.0.4
kde-base/solid-4.3.0
kde-base/soliduiserver-4.3.0
kde-base/systemsettings-4.3.0
kde-misc/krusader-2.0.0-r1
kde-misc/yakuake-2.9.6
|
I don't think it is because old version of some package (it works with different user).
I have even tried to remove all user specific files in ~/.kde4 but it didn't help _________________ Hellsing... |
|
Back to top |
|
|
reavertm Developer
Joined: 05 Feb 2004 Posts: 265 Location: Wrocław
|
Posted: Wed Aug 12, 2009 11:31 am Post subject: |
|
|
Saundersx wrote: | Strangely the problem was that a handful of packages weren't being upgraded from emerge -auvD world, I found them by using qlist and upgraded them manually, that fixed the menu issue (deleted the symlink).
However I still lost all my custom additions, does anyone know where kde 4.2.x saved all that? I dont want to have to figure out what all those were. |
Do you happen to recall those packages? I think we've all them covered either by metapackages or sets. Or myabe you haven't run with --deep (or didn't have some of them in world file? - so had them installed by --oneshot?)
When using -kdeprefix (this is the default) - ~/.kde4 user dir is used. no matter KDE 4 minor version (so that all 4.x.y releases sit there) _________________ Maciek |
|
Back to top |
|
|
Almucard n00b
Joined: 23 Jul 2005 Posts: 27
|
Posted: Tue Aug 25, 2009 12:16 pm Post subject: |
|
|
Because in my case Application Menu was working for another user I used
very dirty workaround:
1. Removed user
2. Created new user (same name, different directory)
3. Copied important files from old dir (i have skipped most of config files)
4. Removed old dir and changed new dir name (also change user home-dir)
Now Application Menu is working fine. I don't know what was wrong, maybe there
was broken configuration file in .config dir? (earlier I have tried to delete only .kde4 dir) _________________ Hellsing... |
|
Back to top |
|
|
reavertm Developer
Joined: 05 Feb 2004 Posts: 265 Location: Wrocław
|
Posted: Tue Aug 25, 2009 10:35 pm Post subject: |
|
|
If you picked kdebase-startkde-4.3.0-r1 from kde-testing overlay, be sure to pick kdelibs-4.3.0-r1 from overlay as well.
(this is minor inconvenience introduced recently - but it fixes running such apps from non-KDE session).
Btw, all your custom .desktop files should be placed (by kmenuedit) in XDG_CONFIG_HOME/applications (being ~/.local/share/applications by default), and any local menu reorganization is saved in (that's KDE specific this time) in ~/.config/menus/somefiledontrememberthename.conf.
By no means upgrade 4.2 -> 4.3 should force you to change anything in your ~/ to make it work. (but software has got bugs sometimes..) _________________ Maciek |
|
Back to top |
|
|
|