Bug 117671 - /usr/local/share/applications is not merged by default
/usr/local/share/applications is not merged by default
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: redhat-menus (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ray Strode [halfline]
:
Depends On:
Blocks: FC5Target
  Show dependency treegraph
 
Reported: 2004-03-06 16:52 EST by Mike Hearn
Modified: 2007-11-30 17:10 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-01 21:01:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mike Hearn 2004-03-06 16:52:19 EST
Summary says it all really. Software installed from the source will by
default puts its .desktop files into /usr/local/share/applications,
which are not merged in the default FC1 menu setup. Why is this the case?
Comment 1 Bryan W Clark 2004-12-01 16:00:38 EST
Mike, this should be fixed by now, can you confirm it still doesn't work?
Comment 2 Mike Hearn 2004-12-02 10:26:13 EST
Fixed in FC3 or Rawhide?
Comment 3 Bryan W Clark 2005-01-05 15:14:32 EST
Rawhide

Does 
<LegacyDir>/usr/local/share/applications</LegacyDir>

fix this when added to /etc/xdg/menus/applications.menu
Comment 4 Mike Hearn 2005-01-06 07:14:02 EST
No that doesn't do what you want, it should be merged the same way
that /usr/share/applications is.

<LegacyDir> is about Windows/KDE2 style menu layouts where the
directories and files defined how it looks.
/usr/local/share/applications is just a directory in which you dump
arbitrary .desktop files
Comment 5 Ray Strode [halfline] 2005-05-11 18:13:00 EDT
Fedora Core 1 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
Comment 6 Mike Hearn 2005-05-11 18:49:35 EDT
Still no <MergedDir> for /usr/local/share/applications ....
Comment 7 Robert Minsk 2005-09-14 15:56:49 EDT
<MergeDir> will not work.  <MergeDir> only looks for .menu files and not
.desktop files.  I guess you would want is
<AppDir>/usr/local/share/applications</AppDir>.

You could get the desired effect by adding
/etc/xdg/menus/applications-merged/local.menu:
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
 "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
<Menu>
 <AppDir>/usr/local/share/applications</AppDir>
 <DirectoryDir>/usr/local/share/desktop-directories</Directory>
 <MergeDir>/usr/local/share/menus</MergeDir>
</Menu>
Comment 8 Marius Andreiana 2005-11-03 04:59:10 EST
Ray, this is an easyfix, please implement before FC5 test 1 this month.

Thanks!
Comment 9 Ray Strode [halfline] 2005-11-03 14:48:01 EST
Hi Marius,

This should definitely get looked at before FC5 is released.  Not sure about
before test1.
Comment 10 Ray Strode [halfline] 2006-02-01 21:01:11 EST
Hey guys,

I think this should be fixed in tomorrow's rawhide.  If it's not, please reopen.

Note You need to log in before you can comment on or make changes to this bug.