xserver.displayManager: lightdm as default#12690
xserver.displayManager: lightdm as default#12690ericsagnes wants to merge 1 commit intoNixOS:masterfrom
Conversation
|
By analyzing the blame information on this pull request, we identified @edolstra, @lethalman and @abbradar to be potential reviewers |
|
How many dependencies does this add to the system closure compared to slim? |
|
I prefer this code over the old. Nice work. |
|
Offtop: if we touch those things anyway, wouldn't it be nice to have |
|
👎 |
|
An entry in the release notes should be added as well ( |
|
@edolstra LightDM itself is "quite" small. On my system the slim full closure is 178M and the lightdm one is 332M (mainly due to perl and python, perl is currently required by nix). @abbradar It would be nice and I would like to improve the code if possible. Please correct me if wrong, but in case @jagajaga It is nice and I am a slim user. But slim has some issues that make it a bad default choice.
It work nicely most of the cases, but for example slim auto login and gnome keyring seems to not going well together. @dezgeg Thanks! I will add a note there. |
|
2a2ba24 to
74f2b43
Compare
|
I have seen KDE based distros use SDDM. If i'm not mistaken GNOME distros use lightdm? If KDE already is used for the graphical live cd I think SDDM will be a good choice. But is it possible to check if the user enaled a particular desktop env and then if displayManager is not set, then choose lightdm if desktop env is GNOME etc. |
|
@joelmo sddm and lightdm are interchangeable with gnome 3 and plasma workspaces 5 iirc. |
|
+1 for switching to LightDM. |
|
+1 for changing. Let's use maintained stuff by default |
|
another +1 to shifting away from slim on account of its unmaintained status. Is this PR still live? |
|
Well, OK, guys. It's unmaintained, but it's working as it should, what's the problem? :) |
|
Well, it's unmaintained, that alone should be enough. In addition to that, it provides no indication about how to change the session. Why does it matter to you? You can keep using slim, but LightDM clearly is a better default. |
|
This clone of SLIM looks it will be able to change session: data-modul/slim@741e439 And the slim project is not completely abandoned, there are people caring about it: https://github.com/data-modul/slim/network (last commit some week ago) The question is: do you optimize for popularity or closure size? |
|
You can absolutely change the session, there's just no indication how (F2 key iirc), which is bad for usability, especially considering no mainstream distro ships with slim. A few people doing some light changes on GitHub doesn't equal a maintained project. There is no central location to report bugs or send patches to. |
|
Like many said having a default display manager make little sense, we should automatically enable the display manager that fits the chosed desktop manager when no explicit choice is made. Also after more experience with Nix, I tend to to think the For now I will just close this PR, thanks for all the comments! |
Implementation of #12516
Description
Make lightdm the default display manager (instead of slim).
Details
slim is an suboptimal choice as default display manager for a few reasons:
Slim is a very good and light display manager and should be available.
But as it is more likely an advanced user choice and it involves some extra setting to play well with the rest, its usage should be explicit by setting
services.xserver.displayManager.slim.enabletotrue.As no mention of the default display manager was made in the documentation, no change or addition was made.
I can add documentation if necessary.
As it is changing a default behavior, it would be nice to have some message on upgrade or an announcement on the ML upon merging.