[lokisetup] more menuitem voodoo
Sean Middleditch
elanthis at awesomeplay.com
Sat Apr 5 18:18:49 EST 2003
On Sat, 2003-04-05 at 18:13, John Quigley wrote:
> I found that when I ran setup on my gentoo box, I couldn't get KDE menuitems
> to show up when I ran the installer as myself or as root.
>
> For my user, the problem was that some other installer (looks like openoffice)
> had created a ~/.kde2 directory, which setup was using for the menuitems.
> But, my version of kde (3.1.1) only looks in ~/.kde, not ~/.kde2. So I
> changed setup to look for .kde first, then kde2 and kde3
>
> For root, the problem was the /usr/share/gnome/apps in the RedHat
> configuration. This directory exists on my system, so setup put the
> menuitems in there (and then did not install any more items, since a
> successful redhat is supposed to take care of everything). So naturally this
> didn't show up on my KDE menu. I fixed this by removing
> /usr/share/gnome/apps from redhat (its is also in the Gnome configuration, so
> that should take care of it in non-redhat cases).
Dropping modern .desktop files in /usr/share/applications works for both
GNOME2 and KDE(3?), as it's part of the new FreeDesktop.org standards.
I haven't followed Setup development lately, so forgive if this is a
dumb question - you guys *are* keeping up to date with those standards
where possible, yes?
Another thing Setup might want is to have the installer use a suffix
like .install or something. Then, GNOME/KDE can drop a MIME item for
.install telling it to invoke it with /bin/sh or whatnot, even without
the executable bit set, so download-and-install in graphical
environments doesn't require low-level UNIX permissions knowledge. Just
download, and click. ^,^
Another thing it would be nice to see is have a copy of the install
installed globally on the system. That way, if a new version of SEtup
comes out with bug fixes or whatnot, that version will be run instead of
the older/buggier version on install CD's or whatnot. That would of
course require a strict spec/standard on the install data formats to
ensure forwards compatibility (with spec revisions for new features, of
course).
Anyways, sorry for intruding. ^,^
>
> Attached is a patch which fixes these problems for me. Really hope that
> someday everybody uses one desktop menuitem convention (or even a few
> _standard_ conventions). Ha.
--
The pain of war cannot exceed the woe of aftermath.
-- Led Zeppelin, "The Battle of Evermore"
More information about the Lokisetup
mailing list