Summary: | KMenu doesn't read menu entries from /usr/share/applications | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Heiko Baums <heiko.baums> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Heiko Baums
2006-07-07 10:53:08 UTC
Works and worked always fine here. Is this still an issue (with KDE 3.5.4) for you? If so, what's the output of `ls /etc/env.d/*kde*` ? Regarding the organisation of the menu, that's up to kde.org. We're not doing lots of customization as other distors do. (In reply to comment #1) > Works and worked always fine here. Is this still an issue (with KDE 3.5.4) for > you? If so, what's the output of `ls /etc/env.d/*kde*` ? /etc/env.d/45kdepaths-3.5 > Regarding the organisation of the menu, that's up to kde.org. We're not doing > lots of customization as other distors do. And this is one of pros of Gentoo. The implementation of KDE menu have ever been and is still terrible and far too fiddly and too complicated. Once there have been 3 or 4 places where menu entries (.desktop files) are stored. Now there are at least 6. And the file ~/.config/menus/applications-kmenuedit.menu is also not the very best. The KMenu should be stored in only two directories, one global and one local per user directory. Maybe I'll file a bug report at kde.org some time. Well, I tried to install chromium again. There is a file chromium-chromium.desktop in /usr/share/applications and there is also e.g. a file blender.desktop. The menu entry for blender is shown in my kmenu but not the entry for chromium. And there are also some but not every menu entries for OpenOffice.org which are in /usr/share/applications shown in my kmenu after a fresh OpenOffice.org installion. So there's something going wrong. i am affected by this issue as well. i installed doom3 and its not showing up, but does appear in /usr/share/applications (In reply to comment #3) > i am affected by this issue as well. i installed doom3 and its not showing up, > but does appear in /usr/share/applications It does here and so it should for you, unless you have fiddled with /etc/env.d/45kdepaths-3.5 All fine here. Reopening this bug because it still doesn't work for me. I've installed Gentoo since about 3 1/2 years now, updated it regularly and haven't fiddled with /etc/env.d/45kdepaths-3.5. Carsten, please, post the content of your /etc/env.d/45kdepaths-3.5 so that we can compare our files. Here's mine: PATH=/usr/kde/3.5/bin ROOTPATH=/usr/kde/3.5/sbin:/usr/kde/3.5/bin LDPATH=/usr/kde/3.5/lib MANPATH=/usr/kde/3.5/share/man CONFIG_PROTECT="/usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/share/config" KDEDIRS="/usr:/usr/local:/usr/kde/3.5" #KDE_IS_PRELINKED=1 XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share" XDG_CONFIG_DIRS="/etc/xdg:/usr/kde/3.5/etc/xdg" COLON_SEPARATED="XDG_DATA_DIRS XDG_CONFIG_DIRS" Heiko, KMenu read the desktop entris from XDG_DATA_DIRS and matching the spec /usr and /usr/local are even hardcoded. When desktop entries do not show up, there is only one reason I know of. When you have deleted them in the menu. The problem is that they're maked as deleted in ~/.config/menus/applications-kmenuedit.menu, but when kde.org switched to the freedesktop.org menu spec, kmenuedit has not been fixed to enable the user to restore them, so you have to edit the xml file manually. Carsten, I guess you are right. KDE's menu management is just terrible. It could be so easy. Let's hope they make it much simpler in KDE 4. What I wanted to say is that I have the impression that I don't have this problem anymore with a fresh Gentoo install where I haven't worked with the Kmenueditor and where I won't do it again. But I couldn't test it with openoffice, yet. If I'll get this problem with openoffice again I'll reopen this bug again. But I think this shouldn't be necessary. Thanks and sorry for the inconvenience. |