LightDM

From XennisWiki
Jump to: navigation, search

LightDM is an X display manager that aims to be lightweight, fast, extensible and multi-desktop. It uses various front-ends to draw login interfaces, also called Greeters. (Wikipedia)

Installation

Arch Linux

Install and enable it

pacman -S lightdm
systemctl enable lightdm

And install the greeter of your Desktop environment:

  • Deepin: lightdm-deepin-greeter
  • GTK (MATE): lightdm-gtk-greeter

Greeter starting

Deepin greeter

In the /etc/lightdm/lightdm.conf file enter

[Seat:*]
greeter-session=lightdm-deepin-greeter

Greeter configuration

The greeter configuration is stored in the /etc/lightdm/lightdm-gtk-greeter.conf file

Background image

Copy the image for instance into the pixmaps directory and set the file permissions correct.

sudo cp ~/example.jpg /usr/share/pixmaps/
sudo chmod 644 /usr/share/pixmaps/example.jpg

Add in the greeter section the path to the background

background = /usr/share/pixmaps/example.jpg

Hide avatar

Set in the greeter section

hide-user-image=true

Dark theme

Further information: GTK3 Dark Theme

Enter in the section Desktop Entry of the file /usr/share/xgreeters/lightdm-gtk-greeter.desktop the line

Exec=env GTK_THEME=Adwaita:dark lightdm-gtk-greeter

See also

External links