Red Hat Bugzilla – Bug 201867
control-center rpm installs desktop files with gnome prefix
Last modified: 2007-11-30 17:11:39 EST
Description of problem:
control-center rpm installs desktop files with gnome prefix but upstream
packages don't. So, for instance, epiphany browser offers a "Use as desktop
background" function and can't launch background capplet by using its desktop
file since the call is made on "background.desktop" file, not
gnome-background.desktop (see background_download_completed function in
I think the way the rpm installs desktop files is wrong (desktop-file-install
--vendor gnome ...), but I'm not sure since it is an old way fedora does that :)
Version-Release number of selected component (if applicable):
It's certainly convention, although, I'm not quite sure why we do it.
I'm pretty sure desktop-file-install requires a --vendor argument, but we could
pass just the basename (minus the .desktop extension) as the vendor (or just fix
desktop-file-install to not require a --vendor argument)
Filed https://bugs.freedesktop.org/show_bug.cgi?id=9988 about being able to
disable the renaming (ie. allowing an empty vendor).
unfortunately, dropping --vendor is not really an option since that breaks other
things that refer to the desktop file by filename, e.g. menu editing.
Anyway, setting background images in epiphany seems to work just fine in rawhide.
True. We have been hacking epiphany to circumvent the problem:
2007-01-08 Diego Escalante Urrelo <email@example.com>
* src/popup-commands.c: (background_download_completed)
Check the result of ephy_file_launch_desktop_file () so if it fails we
try an alternative naming of the background capplet: gnome-background.
This is seen in fedora. Bug #387206, which is actually caused by