Bug 2342869

Summary: Xfce is using upstream desktop background
Product: [Fedora] Fedora EPEL Reporter: camd <cam.dueck>
Component: xfdesktopAssignee: Mukundan Ragavan <nonamedotc>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: kevin, nonamedotc
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description camd 2025-01-29 20:37:35 UTC
Description of problem:
Xfce is using the upstream desktop background in EPEL9.

Version-Release number of selected component (if applicable):
xfdesktop-4.18.1-3.el9

Steps to Reproduce:
1. Login with new user
2. xfdesktop-settings to view selected background

Actual results:
xfce/xfce-shapes.svg

Expected results:
images/default.png

Comment 1 camd 2025-01-29 22:05:09 UTC
The spec file for this package includes the following sed commands, which don't match on this version of the source:

> %setup -q
> 
> # change default background for Fedora
> %if 0%{?fedora} >= 37
> sed -i 's|/backgrounds/xfce/xfce-verticals.png|/backgrounds/images/default.webp|' common/xfdesktop-common.h
> %else
> sed -i 's|/backgrounds/xfce/xfce-verticals.png|/backgrounds/images/default.png|' common/xfdesktop-common.h
> %endif

Comment 2 Kevin Fenzi (rh) 2025-02-17 23:04:27 UTC
I think we fixed this in rawhide, but didn't ever actually fix it in the stable branches using 4.18. ;( 

Also, in f42+, it's changed format again.

Mukundan: can you take care of this? Or would you like me to...

Comment 3 Mukundan Ragavan 2025-02-18 02:50:49 UTC
yes, it does look like we need to update this on various branches. Xfce 4.20.x on rawhide is also probably broken.


I am going to use this flag "--with-default-backdrop-filename=" for the fix. I will take care of updating this everywhere in the next couple of days.