/lightdm-mini-greeter

A Minimal, Configurable, Single-User GTK3 LightDM Greeter

Primary LanguageCGNU General Public License v3.0GPL-3.0

Mini-Greeter + My Personal Customizations Which Aren't Worth Committing Upstream

AUR package Codacy Badge

A minimal but highly configurable single-user GTK3 greeter for LightDM.

Inspired by the SLiM Display Manager & LightDM GTK3 Greeter.

Goals

Eventually this is will present a more customizable interface:

  • Configurable language/session info? (lightdm provides this already?)
  • (Randomized) Background Wallpapers

Open Feature Requests

Current Status

Right now you can:

  • log in
  • hide the Password: label
  • set the size of the login window, the font & every color.
  • use modifiable hotkeys to trigger a shutdown, restart, hibernate or suspend.

A screen with a dark background and a single password input box in the center

Install

Arch Linux users can just install the lightdm-mini-greeter package from the Arch User Repository:

packer -S lightdm-mini-greeter

Otherwise, grab the source, build the greeter, & install it manually:

./autogen.sh
./configure --datadir /usr/share --bindir /usr/bin --sysconfdir /etc
make
sudo make install

You can then specify lightdm-mini-greeter as your greeter-session as well as a value for user-session under the [Seat:*] section(e.g., user-session=gnome) in /etc/lightdm/lightdm.conf.

Modify /etc/lightdm/lightdm-mini-greeter.conf to customize the greeter. At the very least, you will need to set the user.

You can test it out using LightDM's test-mode:

lightdm --test-mode -d

Uninstall with:

sudo make uninstall

Contribute

You can submit feature requests, bug reports, pull requests or patches on either github or redmine.

If you like Mini-Greeter, please consider packaging it for your distribution.

Style

  • Use indentation and braces, 4 spaces - no tabs, no trailing whitespace.
  • Declare pointers like this: char *p1, *p2;, avoid: char* p1;.
  • Function braces should be on their own line.
  • If/else/while/do should always use braces and indentation.
  • Use g_critical for irrecoverable user errors, g_error for programming errors.

When in doubt, check surrounding code.

License

GPL-3