Bug 499555 - Feature Request: Ability to customize or remove default pages
Summary: Feature Request: Ability to customize or remove default pages
Status: CONFIRMED
Alias: None
Product: Welcome Center
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Oliver Beard
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-05 16:25 UTC by Erich Eickmeyer
Modified: 2025-02-05 19:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Ubuntu Studio Desktop Thumbnail (157.23 KB, image/png)
2025-02-05 16:25 UTC, Erich Eickmeyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Eickmeyer 2025-02-05 16:25:16 UTC
Created attachment 177996 [details]
Ubuntu Studio Desktop Thumbnail

SUMMARY

As discussed in https://discuss.kde.org/t/customizing-the-welcome-center-for-distros/29286, Ubuntu Studio has a different layout for its desktop (see screenshot thumbnail attached) and would need to change SimpleByDefault.qml to match. 

Additionally, as this is launched by Plasma itself and not via a systemd unit, command line options to skip pages (show certain pages by default) will not work.

Unfortunately to do what is needed would require forking the package with a patch which is not ideal.

Therefore, this feature request is for customizations or overrides of all pages, perhaps via /usr/share/plasma/plasma-welcome/{matching page name}.qml. Granted the contents of the introduction page can be overridden via a .desktop file, but that's still very restricting compared to a wholesale override via QML. However, if the .desktop file override is the only way, then more than one so that other pages can be overridden would be wonderful.

STEPS TO REPRODUCE

N/A

OBSERVED RESULT

N/A

EXPECTED RESULT

N/A

SOFTWARE/OS VERSIONS
Operating System: Ubuntu Studio 25.04
KDE Plasma Version: 6.2.91
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Comment 1 Oliver Beard 2025-02-05 18:41:47 UTC
We definitely plan to support customising the pages shown with more precision than the current distro pages system offers.

For this, though, we definitely need customisation of the existing pages, including declaratively changing the background, panel position, panel floating, and widget order (and presence). I can certainly add this.

What you can do, for now, is to patch the QML. It *should* be relatively simple to change the anchors for the mock panel to place it at the top, and the background is only in a few places if you'd like to change that as well.
Comment 2 Erich Eickmeyer 2025-02-05 19:35:11 UTC
(In reply to Oliver Beard from comment #1)
> We definitely plan to support customising the pages shown with more
> precision than the current distro pages system offers.
> 
> For this, though, we definitely need customisation of the existing pages,
> including declaratively changing the background, panel position, panel
> floating, and widget order (and presence). I can certainly add this.
> 
> What you can do, for now, is to patch the QML. It *should* be relatively
> simple to change the anchors for the mock panel to place it at the top, and
> the background is only in a few places if you'd like to change that as well.

Right, we can patch the QML, but Kubuntu doesn't desire that (we share all of the same packages, no additional repos). It would require patching-out *all* or some of the QML and replacing it with custom pages defined in a separate settings package (the 01-*.qml extended pages). The unfortunate part is that will make it out-of-order.
Comment 3 Oliver Beard 2025-02-05 19:50:06 UTC
(In reply to Erich Eickmeyer from comment #2)
> Right, we can patch the QML, but Kubuntu doesn't desire that (we share all
> of the same packages, no additional repos). It would require patching-out
> *all* or some of the QML and replacing it with custom pages defined in a
> separate settings package (the 01-*.qml extended pages). The unfortunate
> part is that will make it out-of-order.

I meant you can make the necessary changes in a patch, but yeah, sharing the packages would preclude that.

Could you make a list of changes/deviations that would need to be supported for Ubuntu Studio's Welcome Center to fit in perfectly?
Comment 4 Erich Eickmeyer 2025-02-05 19:56:44 UTC
(In reply to Oliver Beard from comment #3)
> Could you make a list of changes/deviations that would need to be supported
> for Ubuntu Studio's Welcome Center to fit in perfectly?

Really, the only thing we need at this time is the ability to replace or modify SimpleWhenNeeded.qml as it's the only real showstopper. That said, if that can be handled, then there's probably no reason why they cannot all be handled from my perspective, which is somewhat limited in that regard as it might be a much larger project than what my limited knowledge on it might anticipate.

The other thing is, by default, the original introduction page defaults to getting the distribution name from the distro, which is not necessarily the flavor name (Kubuntu and Ubuntu Studio both show as Ubuntu). I saw where it is getting that information, and that's not something we can (or should) change for the sake of this. This, however, is easily mitigated by the .desktop file mentioned in the README.md.