-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
lightdm-mini-greeter: init at 0.3.2 #39153
Conversation
Nice 😁 In the
In my case, although I only have Other than that, I'm liking this! Here it is running in a VM built with |
@emmanuelrosa For turning off xterm you might want to set the respective option to |
@emmanuelrosa You can choose your session in
in my case using bspwm. |
This is what it took to make it work with
When I set the Desktop Manager to "none" Given this, the only recommendation I have is to document what is needed to set the window/desktop manager (since this greeter doesn't provide a way to do so via the GUI). Better yet, an option which simply takes care of it. Something like this:
|
Ahh I was wrong.
To document something like ``For using this greeter, you need to set the default session by ...'' would be sufficiently helpful IMHO.
I tested
and it worked fine. I did not need to set |
d38ffe8
to
55d5d6e
Compare
All set, maybe. I'm waiting for review. |
''; | ||
}; | ||
|
||
user = mkOption { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This add a few too many options. Can add an "extraConfig" like the lightdm-gtk-greeter has? Any options in common with lightdm-gtk-greeter are probably worth keeping.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. However, mini-greeter requires that in the config file, all the options are explicitly specified; it does not provide default options when they are omitted in the config file. So, unlike GTK greeter, it could be unsafe to introduce extraConfig
, with which users might forget to specify some options, causing failure, and after nixos-rebuild switch
they cannot login.
EDIT: I noticed that glib's keyfile can have the same keys multiple times and the last entry wins. So it can be done by putting default options first and then overwriting them in extraConfig
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added extraConfig
and most options can be set there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matthewbauer Could you review this again?
description = "A minimal, configurable, single-user GTK3 LightDM greeter"; | ||
homepage = https://github.com/prikhi/lightdm-mini-greeter; | ||
license = licenses.gpl3; | ||
maintainers = with maintainers; [ ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you could add yourself as maintainer, this becomes a little easier to merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll be glad to.
076c70b
to
5ff5443
Compare
5ff5443
to
8ec24b2
Compare
3d2735d
to
83b3893
Compare
Motivation for this change
lightdm-mini-greeter is a neat, minimalistic LightDM greeter. It could be alternative to SLiM.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)