SUMMARY Currently neon installs desktop-file-utils: /usr/share/applications/defaults.list which means glib based applications pick up wonky ubuntu defaults. Either get rid of the package or the file. Also see https://bugs.kde.org/show_bug.cgi?id=305136
I'm not sure what brings it in, nothing complains when I remove it, but I do seem to have it installed. Doesn't the package exist for a reason? Seems like if it causes problems then the package should be fixed in freedesktop land rather than by KDE Frameworks, Plasma or neon?
I think the package was added for some appimage stuff at some point, possibly its use has gone away? The actual file is patched in by ubuntu or debian
Turns out removing the package isn't a useful solution, glib tech depends on desktop-file-utils: /usr/bin/update-desktop-database
So should this bug be closed?
Nope. The file should still be removed somehow
Huh. Well a dpkg-divert in neon-settings might be the way to do it. Should I try this? But what about non neon distros? Shouldn't there be a way that solves it for all?
Sure. ubuntu shouldn't install a legacy defaults.list ;)
Git commit a2a6da4a5edf5d2074ae985e66cba61c5b4f5166 by Jonathan Esk-Riddell. Committed on 20/02/2024 at 10:55. Pushed by jriddell into branch 'Neon/release'. add divert for /usr/share/applications/defaults.list from desktop-file-utils which is an obsolete file A +10 -0 debian/neon-settings-2.preinst A +9 -0 debian/neon-settings-2.prerm https://invent.kde.org/neon/neon/settings/-/commit/a2a6da4a5edf5d2074ae985e66cba61c5b4f5166
OK I added a dpkg-divert to neon-settings-2 https://invent.kde.org/neon/neon/settings/-/commit/7740c4aee18cba9ad25836bdb9928d09ca38175b