This morning I updated gnome-menus from 2.10.1 to 2.10.2 and gnome-panel from 2.10.0-r1 to 2.10.2. The gedit icon is nowhere to be found in my menus. The .desktop file is still there in /usr/share/applications/gedit.desktop but it doesn't show up in my "applications" menu and neither in the list of applications when clicking on "run an application" from the "applications menu" Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: The icon should still be there ... shouldn't it? I run gnome and all of its direct dependencies as ~x86 stratos ~ # emerge -pv gnome These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] gnome-base/gnome-2.10-r1 -accessibility +cdr -dvdr +hal 0 kB Total size of downloads: 0 kB stratos ~ # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 AMD Duron(tm) Processor Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 8 2005, 08:44:19)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon -pipe -mmmx -m3dnow -funroll-loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon -pipe -mmmx -m3dnow -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.sdv.fr" MAKEOPTS="-j2" 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 3dnow X a52 aalib acpi alsa apache2 avi berkdb bitmap-fonts cdr crypt cups curl dbus dga directfb dts dvd dvdread eds emboss encode evo flac foomaticdb gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal howl imagemagick imap imlib java joystick jpeg ldap libg++ libwww mad mikmod mmx mng motif mozcalendar mozilla mozsvg mp3 mpeg mysql ncurses nls nptl nptlonly ogg oggvorbis opengl pam pda pdflib perl php png ppds python quicktime readline real ruby samba sdl slang spell sqlite ssl svg svga tcpd tetex theora tiff truetype truetype-fonts type1-fonts userlocales v4l v4l2 vcd vorbis win32codecs wxwindows xml xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
What version of gedit? Do you see an entry labeled "Text Editor" in Applications->Accessories? Do you see an entry labeled "Text Editor" in the list of known applications when you run Applications->Run Application..?
no the icon was nowhere to be found. I'm using gedit-2.10.3 However I tracked it down. When fiddling around, I found this utility called gnome-menu-spec-test which basicaly does the same thing as the menu panel but inside the console. Anyway I straced that app to see if gedit.desktop was actually open()ed at one point. It was, but I also found .desktop files inside ~/.local/share/applications/ and I had two entries for gedit for some unknown reason (at least to me) Here is the diff between the two files --- gedit.desktop 2004-12-31 16:36:55.000000000 +0100 +++ gedit1.desktop 2005-05-10 00:22:50.000000000 +0200 @@ -1,7 +1,7 @@ [Desktop Entry] Encoding=UTF-8 Name=gedit -MimeType=application/x-extension-fpf; +MimeType=image/svg+xml; Exec=gedit Type=Application Terminal=false Now I don't know what happened but the latest gnome-menus or gnome-panel didn't like having those two files and gedit just didn't show up anymore... I just deleted all the files in that directory and everything's back to normal. However maybe it could be an idea to have a "reset menus to system defaults" if something goes wrong. There are .desktop files all over my ~/ even in places I didn't even know about. Thanks for your quick reply though :)
If you have .destkop files under your home directory, they're your responsibility, and the ebuilds shouldn't touch them. Thanks for the information.