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
Offer a way to override default config via /usr/share/sddm/config.d #217
Comments
This is needed to make nvidia-prime support elegant |
👍 except for minor details regarding the location I would follow the systemd convention here so SDDM should:
|
I think the last one in your list should be Compare, for example, |
Fixed thanks, it was a typo |
@plfiorini We could do it like supervisor does it: [include]
files = /etc/supervisor.d/*.ini |
@plfiorini btw this would take backwards compatibility out of our hands and into the distros', then :) |
@jleclanche i'd like to have more predictable file locations and copy the systemd pattern because it is likely to be more familiar to our user base |
@plfiorini with an include directive, we could do whatever we want. |
Indeed, but what's the added value compared to the cost of inconsistency between distributions? |
Frankly sddm's not here to solve how inconsistent distros are between each other. |
Yes, but there's no need to add insult to injury when there is no actual usecase for a generic include syntax. |
Huh? There's a use case right there, we don't get to worry about backwards compatibility and we're as flexible as distros want. |
Which use-case? When will distros ever need anything beyond |
Implementing these paths is not cheap, it's a maintenance burden and a promise of forward compatibility. An include directive means we don't worry about this. |
How do you see any maintenance burden involved in writing three or four paths into the code and calling it a day? It's not like the FHS changes every other day. |
If/When SDDM gains support for those config drop-ins, it would be easier to address item 4 of issue #78 (provide per-seat settings in sddm.conf), specially if second approach proposed there becomes the prefered one. |
Hi |
@shadeslayer Right, it should be this way:
It's an established convention, plus a factory reset would still provide good defaults from the vendor |
From a downstream perspective, when shipping multiple themes, it would be awesome to have themes install a config file to /usr/share/sddm/config.d to override the default theme from /etc/sddm.conf
Alternatively, maybe implementing a fall back mechanism would make sense as well. For eg. Try to load theme from /etc/sddm.conf , if theme doesn't exist check /usr/share/sddm/conf.d
The text was updated successfully, but these errors were encountered: