Lightdm: Difference between revisions
Created page with "Lightdm is a login manager for Linux. == Lightdm Webkit == The {{code|lightdm-webkit2-greeter}} greeter lets you use a webkit engine to drive the login screen. This effective..." |
|||
| Line 7: | Line 7: | ||
Install the {{code|lightdm-webkit2-greeter}} package either from your distro's repository or from source. | Install the {{code|lightdm-webkit2-greeter}} package either from your distro's repository or from source. | ||
On a Fedora Linux computer, pull the package from the copr repository | On a Fedora Linux computer, pull the package from the copr repository: | ||
{{highlight|lang=terminal|code= | |||
# dnf copr enable antergos/lightdm-webkit2-greeter | |||
# dnf install lightdm-webkit2-greeter | |||
}} | |||
One installed, there are a few files you want to edit: | One installed, there are a few files you want to edit: | ||
Revision as of 23:59, 6 June 2017
Lightdm is a login manager for Linux.
Lightdm Webkit
The lightdm-webkit2-greeter greeter lets you use a webkit engine to drive the login screen. This effectively makes the login screen a webpage which makes it super simple to customize and add functionality (via javascript).
Setup
Install the lightdm-webkit2-greeter package either from your distro's repository or from source.
On a Fedora Linux computer, pull the package from the copr repository:
# dnf copr enable antergos/lightdm-webkit2-greeter
# dnf install lightdm-webkit2-greeter
One installed, there are a few files you want to edit:
- /etc/lightdm/lightdm.conf - change the greeter to lightdm-webkit2-greeter.
- /etc/lightdm/lightdm-webkit2-greeter.conf - define which theme you want to use.
- /usr/share/lightdm-webkit/themes - custom themes are placed here.
If you have any issues with lightdm, check out the log files at:
- /var/log/lightdm/lightdm.log
- /var/log/lightdm/x-0-greeter.log - JavaScript exceptions will be displayed here
Troubleshooting
I had the lightdm-webkit login screen not accept any keyboard inputs when the webkitgtk4 library got updated past version 2.12.3-1.
This was resolved by updating lightdm-webkit2-greeter to a more recent version.