Thanks again!
On Sun Jun01'25 10:11:16AM, Todd Zullinger wrote:
> From: Todd Zullinger <[email protected]>
> Date: Sun, 1 Jun 2025 10:11:16 -0400
> To: [email protected]
> Reply-To: Community support for Fedora users <[email protected]>
> Subject: Re: F41 -> F42 (openbox+slim: X does not get started)
>
> [email protected] wrote:
> > On Sun, 01 Jun 2025 07:48:16 +0200 [email protected] wrote:
> >
> >> I don't know slim, but being a display manager, it's him that starts
> >> Xorg. Look thus for slim traces in the journal, and also in it's
> >> logfiles: /var/log/slim.log
> >
> > I installed slim on a test machine. /var/log/slim.log says:
> >
> > slim: could not load background image for theme 'default'
> >
> > Due to this broken link (in F42):
> >
> > /usr/share/slim/themes/default/background.png \
> > -> ../../../backgrounds/f42/default/f42-01-day.png
>
> Nice. I believe that was changed per:
>
> https://fedoraproject.org/wiki/Changes/SwitchToJXLforDefaultWallpaper
>
[As a note, upstream is in trouble because the maintainer is quite unwell,
judging by the ticket responses on the slimfork site. I hope he recovers well
and soon, at least for his sake.]
So, I think that there are two options: one, perhaps a long-term one would be
to add code that allows for reading .jxl files. That is doable and a lot of
work, but might only be transient as Fedora moves to something else down the
road.
So, I was thinking of using magick to convert the file to a png while the rpm
was being built. Might not be kosher anyway, but I brought in ImageMagick as a
BuildRequire, and replaced:
ln -s ../../../backgrounds/f%{?fedora}/default/f%{?fedora}-01-day.png
%{buildroot}%{_datadir}/%{name}/themes/default/background.png
with:
magick ../../../backgrounds/f%{?fedora}/default/f%{?fedora}-01-day.jxl convert
%{buildroot}%{_datadir}/%{name}/themes/default/background.png
I don't know why this creates the following error:
magick ../../../backgrounds/f42/default/f42-01-day.jxl
/home/localuser/rpmbuild/BUILD/slim-1.4.0-build/BUILDROOT/usr/share/slim/themes/default/background.png
magick: unable to open image '../../../backgrounds/f42/default/f42-01-day.jxl':
No such file or directory @ error/blob.c/OpenBlob/3596. error: Bad exit status
from /var/tmp/rpm-tmp.62ipD8 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.62ipD8 (%install)
I do not quite understand why I get this error, especially because the "ln -s"
appears to find this path.
Is there a way to specify the .jxl file in the spec file for magick to convert
it without hardcoding it?
Many thanks again and best wishes,
Ranjan
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue