You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
JezerM 71f18bb047
Added utils for debian packaging
3 years ago
.github/ISSUE_TEMPLATE Update issue templates 3 years ago
build Added utils for debian packaging 3 years ago
dist Added support for easier layout selection (#7) 3 years ago
docs Changed a few config options, bugfixes, and docs updated 3 years ago
themes Added Layouts support to gruvbox theme 3 years ago
web-greeter Type bugfix 3 years ago
.coafile Styling and preparing 3.0.0 3 years ago
.editorconfig The master branch now completely belongs to web-greeter 3.0 😤 8 years ago
.gitattributes update gitattributes 8 years ago
.gitignore Added utils for debian packaging 3 years ago
COPYING lightdm-webkit2-greeter ported from lightdm-webkit-greeter by karasu 11 years ago
Makefile Added utils for debian packaging 3 years ago
NEWS.md Finally, 3.0.0 arrives 3 years ago
README.md Finally, 3.0.0 arrives 3 years ago
circle.yml update circle.yml 8 years ago
requirements.txt Updated requirements 4 years ago
web-greeter.doap Some updates 4 years ago

README.md

Web Greeter for LightDM

A modern, visually appealing greeter for LightDM, that allows to create web based themes with HTML, CSS and JavaScript.

This is a try to update the Antergos web-greeter, following what they left.

As this is based on the master release, which does some API changes, actual themes would need to do changes to work correctly.

See Live Demo

Gruvbox and Dracula themes!

Features

  • Create themes with HTML, CSS and JavaScript!
  • Should work everywhere.
  • JavaScript error handling, allowing to load the default theme.
  • Themes could be simple, or very complex.
  • Battery and brightness control.
  • Tab completion for zsh and bash.

Dependencies

arch ubuntu fedora openSUSE
whither *install it from source*
liblightdm-gobject lightdm liblightdm-gobject-dev lightdm-gobject-devel liblightdm-gobject-1-0
pygobject python-gobject python3-gi pygobject3 python3-gobject

NOTE Be sure to have whither installed from this source

PIP

Above dependencies can be installed with pip as well.

pip install -r requirements.txt

NOTE Be sure to install pip libraries as root too

Download & Install

git clone https://github.com/JezerM/web-greeter.git
cd web-greeter
sudo pip install -r requirements.txt
sudo make install

See latest release.

Theme JavaScript API

Antergos documentation is no longer available, although it is accesible through Web Archive. Actual documentation is available in gh-pages.

You can access the man-pages man web-greeter for some documentation and explanation. Also, you can explore the provided themes for real use cases.

Enable features

Brightness control

To control the brightness inside the greeter, I recommend to use acpilight replacement for xbacklight.

udev rules are needed to be applied before using it. Then, lightdm will need to be allowed to change backlight values, to do so add lightdm user to video group: sudo usermod -a -G video lightdm

If you don't want to or don't have a compatible device, disable it inside /etc/lightdm/web-greeter.yml (disabled by default)

Battery status

acpi is the only tool you need (and a battery).

You can disable it inside /etc/lightdm/web-greeter.yml (disabled by default)

Debugging

You can run the greeter from within your desktop session if you add the following line to the desktop file for your session located in /usr/share/xsessions/: X-LightDM-Allow-Greeter=true.

You have to log out and log back in after adding that line. Then you can run the greeter from command line.

Themes can be opened with a debug console if you set debug_mode as true inside /etc/lightdm/web-greeter.yml. Or, you could run the web-greeter with the parameter --debug. I recommend to use the last one, as it is easier and handy.

web-greeter --debug

Note: Do not use lightdm --test-mode as it is not supported.