Re: F41 -> F42 (openbox+slim: X does not get started)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks again!

On Sun Jun01'25 10:11:16AM, Todd Zullinger wrote:
> From: Todd Zullinger <tmz@xxxxxxxxx>
> Date: Sun, 1 Jun 2025 10:11:16 -0400
> To: users@xxxxxxxxxxxxxxxxxxxxxxx
> Reply-To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
> Subject: Re: F41 -> F42 (openbox+slim: X does not get started)
> 
> Francis.Montagnac@xxxxxxxx wrote:
> > On Sun, 01 Jun 2025 07:48:16 +0200 Francis.Montagnac@xxxxxxxx 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 -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux