Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream Global Themes with SDDM theme dependencies issue #7

Open
dominichayesferen opened this issue Feb 16, 2024 · 4 comments
Open
Labels
bug Something isn't working

Comments

@dominichayesferen
Copy link

Issue Description

https://bugs.kde.org/show_bug.cgi?id=454509
https://bugs.kde.org/show_bug.cgi?id=463161

This will likely affect Vanilla OS, too, since /usr is an immutable directory iirc.

Steps to Reproduce

  • Install a Global Theme with an SDDM dependency, such as Qogir

On what version of Vanilla OS this happens?

Unreleased

Additional Information

Feren OS recently added its own workaround for this, employing a fake sddmtheme.knsrc to trick Kool New Stuff into thinking the SDDM themes are installing (but instead they're just being deleted) - this however has the caveat of the section still appearing in Discover, and being semi-redundant when SDDM Configurator is installed too, plus it's not very vanilla by design.

In case you want to mess around with it, here's a .deb file containing the workaround: https://gitlab.com/feren-os/feren-repositories-jammy/-/raw/master/pool/main/f/feren-plasma-workaround-gtsddm/feren-plasma-workaround-gtsddm_2024.01.0.0.0+ubrel3_all.deb?ref_type=heads

Without the file nor SDDM Config, Global Themes with SDDM dependencies will instantly fail to install, so that isn't a solution, either.

The best solution would be for this to finally be fixed upstream (blacklist dependency types, much?), but alas until such times...

@dominichayesferen dominichayesferen added the bug Something isn't working label Feb 16, 2024
@ViktorJannicke
Copy link

ViktorJannicke commented Feb 19, 2024

This will be one of the trickiest things to properly fix. The only solution I have come up with so far is to run the install commands in a transactional shell session that can modify the root partition while I was thinking about how to fix this on OpenSUSE MicroOS.

But that would require to either patch the settings module or to run the whole settings module in some kind of a container or transactional shell.

EDIT: while thinking about it some more, running the settings module in a podman/distrobox/apx container and using Symlinks(to link the sddm folder to a writable location) + Volumes(to map the sddm folder into the correct location in the container) could probably fix it without touching the plasma packages and without modifying root.

@Maxwelldoug
Copy link
Contributor

Maxwelldoug commented Jul 11, 2024

Putting in my two cents here, this can be much easier fixed by just moving the SDDM Theme directory into /etc - I will do so in a later pull request if it has not been done by the point that my current more pressing issues are resolved.

@Maxwelldoug
Copy link
Contributor

This will be fixed in my next PR

@Maxwelldoug
Copy link
Contributor

This is fixed by #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants