Bug 201867 - control-center rpm installs desktop files with gnome prefix
control-center rpm installs desktop files with gnome prefix
Product: Fedora
Classification: Fedora
Component: control-center (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ray Strode [halfline]
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2006-08-09 11:13 EDT by Jean-François Rameau
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-16 00:55:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
FreeDesktop.org 9988 None None None Never

  None (edit)
Description Jean-François Rameau 2006-08-09 11:13:47 EDT
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):

Comment 1 Ray Strode [halfline] 2006-08-09 11:22:04 EDT

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)
Comment 2 Bastien Nocera 2007-02-15 13:53:02 EST
Filed https://bugs.freedesktop.org/show_bug.cgi?id=9988 about being able to
disable the renaming (ie. allowing an empty vendor).
Comment 3 Matthias Clasen 2007-02-16 00:55:26 EST
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.
Comment 4 Jean-François Rameau 2007-02-16 04:39:10 EST
True. We have been hacking epiphany to circumvent the problem:

2007-01-08  Diego Escalante Urrelo <diegoe@svn.gnome.org>

	* 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
	bugzilla.redhat.com #201867.

Note You need to log in before you can comment on or make changes to this bug.