Hacker News new | ask | show | jobs
by Joel_Mckay 630 days ago
In some situations qt5ct was the problem at certain points in the past. In this case that trick won't work either.

The Cinnamon desktop package is functional in 24.04 LTS for "reasons" yet to be identified.

Thanks for trying to help though =3

1 comments

OFC with qt5ct it's suggested to add the qgtk styles too. For instance, the GTK2/3 one to map your GTK2/3 (and 4) settings into the QT5 widgets.

BTW, to enforce Zukitre as the GTK4 theme with Elementary icons:

create /etc/profile.d/gtk.sh

       #!/bin/sh 
       export GTK_THEME=Zukitre
       export GTK_ICON_THEME=Elementary
And, yes, Zuki themes and the Elementary icon set must be installed too.
The theme overrides were not working, so the issue is likely in how the Qt5 template layer was built/integrated in the universe MATE build (Qt6ct seems unaffected, but will not help with code built on Qt5). i.e. the applications may not crash, but will look garbled and exhibit undefined GUI behaviors on legacy desktops. Overriding the themes and other documented workarounds will only suppress standard warnings, but have not had any impact on the core Qt5 issues.

For an LTS OS intended to be around for 12 years, I am not sure things have turned out well in user space and Qt5.

Hopefully, this saves someone a few hours of chasing this external issue in their own projects. =3

Uhm, I use Mate under Trisquel 11 (bound to Ubuntu 22 releases, but libre), it's the default desktop DE and I have no issues with neither qt5ct nor GTK theme overriding, which is more apt for Gnome3/OSTree based desktops than normal setups.
This issue appeared in Canonical's Ubuntu 24.04.1 Noble Numbat MATE Desktop iso and universe repository meta packages ubuntu-mate-desktop and mate-desktop .

The meta package ubuntucinnamon-desktop does not seem to impact the Qt5 Apps/installation in a detrimental way.

If I could offer any advice about this mystery issue... probably wiser to defer upgrading for a bit =3

Why qt5ct when qt6 (and qt6ct) were released years ago, in 2020 ?
Same reason as usual. Not every application has been ported.