Skip to content

LightDM

Mahdy Mirzade edited this page May 16, 2021 · 5 revisions
LightDM Gif

LightDM is a cross-desktop display manager.

I use lightdm-gtk-greeter as my greeter.

Installation

Using Pacman

$ pacman -S lightdm lightdm-gtk-greeter

Using dot.sh

$ ./dot.sh i lightdm

Configuration

If you used pacman:

$ ./dot.sh c lightdm

If you used dot.sh:

No need for extra config, it will install config files within the last command.

/etc/lightdm/lightdm.conf

Main configuration of lightdm. Changing a variable to activate greeter:

#greeter-session=example-gtk-gnome
=>
greeter-session=lightdm-gtk-greeter

/etc/lightdm/lightdm-gtk-greeter.conf

Main configuration of lightdm greeter. Set greeter's configuration title:

[greeter]

Set greeter's background:

background = /usr/share/pixmaps/lightdm.background.png

Set greeter's theme, icons, font:

theme-name = Dracula
icon-theme-name = Dracula
font-name = Hack Reqular 9

Set greeter's login box position:

position = 2%,start -4%,end

Set greeter's login box profile:

default-user-image = /usr/share/pixmaps/archlinux-logo.png