Jump to content

Display manager: Difference between revisions

From postmarketOS Wiki
LightDM: theme-name=postmarketos-dark
Line 32: Line 32:
<pre>
<pre>
background=/usr/share/wallpapers/postmarketos.jpg
background=/usr/share/wallpapers/postmarketos.jpg
theme-name=postmarketos-dark


keyboard=onboard -l Phone -t Nightshade
keyboard=onboard -l Phone -t Nightshade

Revision as of 22:39, 16 April 2022

List of display managers

  • tinydm, default on Phosh, Plasma Mobile and LXQt installations
  • lightdm, default on Xfce4 and MATE installations
  • gdm, default on GNOME installation
  • sddm, default on Plasma Desktop installation
  • lxdm, not used by default

LightDM

In Xfce4 and MATE, autologin is preset by the files /usr/share/lightdm/lightdm.conf.d/64-autologin.conf (Xfce4) or /usr/share/lightdm/lightdm.conf.d/61-autologin.conf (MATE).

If you want to use LightDM as a login screen, it can be set up as follows:

1. sudo apk add lightdm-gtk-greeter

2. sudo vi /etc/lightdm/lightdm.conf

change:
greeter-session=lightdm-gtk-greeter
greeter-hide-users=false

3. sudo vi /etc/lightdm/lightdm-gtk-greeter.conf (optionally)

Background picture can be set here.
Also setting up a virtual keyboard can be done here. Keyboard onboard is preinstalled on Xfce4 and MATE. First line is a change, the other two lines are new additions. On bigger screens, layout "Phone" can be replaced by layout "Compact".
background=/usr/share/wallpapers/postmarketos.jpg
theme-name=postmarketos-dark

keyboard=onboard -l Phone -t Nightshade
keyboard-position="50%,center -0;100% 25%"
a11y-states=+keyboard

4. sudo vi /usr/share/lightdm/lightdm.conf.d/65-autologin-override.conf (new file)

Finally, to disable autologin, the content of the autologin config file can be overriden and set to empty by:
[Seat:*]
autologin-user=
autologin-user-timeout=
autologin-session=