Comment 13 for bug 456093

Revision history for this message
A. Walton (awalton) wrote :

This is an intractable problem to solve from Nautilus. Application developers can generate as many desktop files as they like with the same Name key and there's really nothing we can realistically do with them (we'd just make the menu/dialog enormous by including bogus things like the commandline string or adding numbers for duplicate names which don't really help most users in any way).

It's a trivial problem to solve for misbehaving applications. For a GNOME example of this, see Brasero during the 2.26 cycle. This package used to include many desktop files with identical names. It has since been fixed.

Fix your desktop entries to use different names for calling with different arguments so that they show up in menus differently. As Sebastien noted, we can't use NoDisplay (which was the first solution we tried, and I actually committed it, but had to revert it for applications which use this with different semantics).

It could be solved by going to FreeDesktop.org and figuring out a better way to solve this problem, like reviving actions within desktop files, but this hasn't been seriously proposed by anyone and it's not likely something we'll implement in Nautilus unless there's a consensus that it's the way to go, and it will *still* require you to fix your desktop files.