Summary: | Installing global themes with SDDM impossible on immutable OS | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-knewstuff | Reporter: | doncbugs |
Component: | general | Assignee: | Dan Leinir Turthra Jensen <admin> |
Status: | CONFIRMED --- | ||
Severity: | major | CC: | alexander.lohnau, enderpirate98, hey, kdelibs-bugs, nate, postix, travier |
Priority: | NOR | ||
Version: | 5.91.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
URL: | https://github.com/sddm/sddm/issues/1561 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
doncbugs
2022-05-27 22:27:28 UTC
Hmm, yeah, this would be a problem. How could we detect an immutable OS? (In reply to Alexander Lohnau from comment #2) > How could we detect an immutable OS? I wasn't really looking for any detection, really just a more graceful fail. I could have sworn themes still installed even if an individual component couldn't be installed. Not too keen on specifics, but some avenues might be checking for the presence of things like OSTree, or how the /sysroot is mounted? https://fedoraproject.org/wiki/Changes/Silverblue_Kinoite_readonly_sysroot I suppose trying to write something to root would be the ultimate test. On Kinoite, /usr is read only but /etc is not. I would recommend that SDDM supports reading themes from two locations, one in /usr for distribution installed themes and one in /etc for user/admin installed themes. You can also use a path under /var such as /var/lib/sddm/themes which is also writable on Kinoite. >On Kinoite, /usr is read only but /etc is not. I would recommend that SDDM supports reading themes from two locations
That seems like a good idea. Maybe you could file a bug for SDDM?
Heads up, fixing this bug will break nearly every popular SDDM theme on the store. This is because the path to most assets is hardcoded and expects things to be in /usr/share/sddm/themes/. So, it might not actually help all that much for immutable users. Anyway, I suppose I needed a reason to learn how to supply relative paths to Plasma Components anyway. >Heads up, fixing this bug will break nearly every popular SDDM theme on the store
It will break every theme, because the installer wants t put them in /usr :)
*** Bug 492245 has been marked as a duplicate of this bug. *** |