GNOME Bugzilla – Bug 169202
Problem with "Open with other application"-created .desktop files
Last modified: 2006-02-07 10:14:29 UTC
Their name can clash with system .desktop files, causing them to have precedence over the system one (see bug 169198); and their Exec line makes them unsuited for launching with gnome_vfs_mime_application_launch and gnome_desktop_item_launch.
Created attachment 38250 [details] [review] proposed patch
Hmm gnome-vfs should be able to deal with Exec without %U for compatibility reasons. I cannot reproduce this in rawhide, maybe it's something changed recently... At least, if add gedit --new-window with nautilus and then launch it, the file is opened correctly.
Created attachment 38290 [details] [review] just the .desktop filename changes part of the patch
Comment on attachment 38250 [details] [review] proposed patch If you could split this and I think we should use %f, not %U.
Created attachment 38295 [details] [review] just the Exec= part, with %f instead of %U
the patch is on eel, reassigning to the right component.
The first patch has been commited by alex: 2005-03-07 Alexander Larsson <alexl@redhat.com> * eel/eel-mime-extensions.c: (eel_mime_add_application): Make sure user added desktop files don't conflict with global ones. Patch from Christian Persch Christian, could you mail the second patch on the nautilus-list so a maintainer can accept it?
Commited the second patch. Thanks.