Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47502 - xmms-1.2.10-r2 (maybe also before) gives me two desktop entries (KDE)
Summary: xmms-1.2.10-r2 (maybe also before) gives me two desktop entries (KDE)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
: 48427 69567 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-11 05:35 UTC by Stefan Briesenick (RETIRED)
Modified: 2004-10-31 01:33 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Briesenick (RETIRED) gentoo-dev 2004-04-11 05:35:50 UTC
kde 3.2 creates these files:
/usr/kde/3.2/share/apps/kappfinder/apps/Multimedia/xmms-enqueue.desktop
/usr/kde/3.2/share/apps/kappfinder/apps/Multimedia/xmms.desktop

latest xmms ebuilds creates this:
/usr/share/gnome/apps/Multimedia/xmms.desktop
/usr/share/applnk/Multimedia/xmms.desktop
/usr/share/applications/xmms.desktop

at least the "/usr/share/applnk/Multimedia/xmms.desktop" is a dupe, because KDE scans also /usr/share/applnk. So I have two XMMS entries in the KDE start menu. That's odd!

Either remove /usr/share/applnk/Multimedia/xmms.desktop from the XMMS ebuild or make it available via USE-Flag. Or do some other magic to avoid dupe entries.

Thanks!

Reproducible: Always
Steps to Reproduce:
1. emerge kde xmms
2. check K -> Multimedia -> XMMS
3. see, that there're two entries

Actual Results:  
two XMMS entries in K-Menu 

Expected Results:  
only one XMMS entry in K-Menu
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-11 12:25:44 UTC
This isn't a bug.

The other entry is from your $HOME/.kde/share/applnk/Multimedia directory where kappfinder put it.
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2004-04-11 16:05:01 UTC
I've never put xmms into ~/.kde/share/applnk/Multimedia. At least NOT via kappfinder. I'm sure!
Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2004-04-11 16:08:57 UTC
ok, I reopen it, because:

~/.kde/share/applnk/Multimedia

is EMPTY but I have 2 XMMS entries in K-Menu.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-11 21:21:29 UTC
ok, well please find out where the other one is coming from.  the one in the kappfinder directory does nothing for the menu directly.
Comment 5 Stefan Briesenick (RETIRED) gentoo-dev 2004-04-12 13:28:18 UTC
hmmm... really strange.

I removed the 2nd entry via KMenuEditor and now I can't find any configfiles, with the remove (hide) information. Normally, they should be somewhere under ~/.kde (as a user I can't delete *.desktop files in system paths, so they're marked as hidden).

The 2nd entry is gone and I don't know where to search. 

Ok, folks, I would say, we close this bug for now. When the problem comes back again, I try to find out what happend. THEN I reopen this bug. It looks at least very strange... I can't reproduce it now.

sorry. :-/
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-19 21:21:05 UTC
*** Bug 48427 has been marked as a duplicate of this bug. ***
Comment 7 Keri Harris gentoo-dev 2004-04-20 03:16:57 UTC
I've too experienced this bug on a fresh Gentoo install.

Removing either of /usr/share/applnk/Multimedia/xmms.desktop or /usr/share/applications/xmms.desktop solved this problem for me. (I don't have any xmms.desktop files in ~/.kde or ~/.local).

I think KDE looks in both /usr/share/applnk/ and /usr/share/applications/. Unfortunately, I don't think all applications in Gentoo are following a consistent approach to .desktop files. For example kile stores a .desktop file in /usr/share/applications while k3b stores a .desktop file in /usr/share/applnk.
Comment 8 Stefan Briesenick (RETIRED) gentoo-dev 2004-09-15 13:31:03 UTC
Problem is stoll not solved:

/usr/share/applications/xmms.desktop
/usr/share/applnk/Multimedia/xmms.desktop
/usr/share/gnome/apps/Multimedia/xmms.desktop

we had other ebuilds with exactly the same problem, but most of them are fixed now (evolution for example).

Evolution ebuild just has:

/usr/share/applications/evolution.desktop

so we should reduce the xmms ebuild also to:

/usr/share/applications/xmms.desktop

which is also the freedesktop.org default
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-30 15:26:16 UTC
fixed in forthcoming -r6.
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-31 01:33:13 UTC
*** Bug 69567 has been marked as a duplicate of this bug. ***