@ -74,7 +75,7 @@ can install PIP dependencies with:
pip install -r requirements.txt
pip install -r requirements.txt
```
```
> ***NOTE*** If using PIP, be sure to install these dependencies as root
> ***NOTE*** If using PIP, be sure to install these dependencies as root. Yet, no recommended.
## Download & Install
## Download & Install
```sh
```sh
@ -100,16 +101,17 @@ Aditionally, you can install the TypeScript types definitions inside your theme
npm install nody-greeter-types
npm install nody-greeter-types
```
```
## Enable features
## Aditional features
### Brightness control
### Brightness control
To control the brightness inside the greeter, I recommend to use [acpilight][acpilight] replacement for `xbacklight`.
`acpi` is the only tool needed to control the brightness, besides a compatible device. This functionality is based on [acpilight][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`
udev rules are needed to be applied before using it, check [acpilight rules][acpilight_rules]. 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`
Enable it inside `/etc/lightdm/web-greeter.yml`
Enable it inside `/etc/lightdm/web-greeter.yml`
### Battery status
### Battery status
`acpi` is the only tool you need (and a battery).
`acpi`and `acpi_listen` are the only tools you need (and a battery). This functionality is based on ["bat" widget][bat_widget] from ["lain" awesome-wm library][lain].
You can enable it inside `/etc/lightdm/web-greeter.yml`
You can enable it inside `/etc/lightdm/web-greeter.yml`
@ -124,6 +126,8 @@ Themes can be opened with a debug console if you set `debug_mode` as `true` insi
web-greeter --debug
web-greeter --debug
```
```
Check `web-greeter --help` for more commands.
> ***Note:*** Do not use `lightdm --test-mode` as it is not supported.
> ***Note:*** Do not use `lightdm --test-mode` as it is not supported.
## Troubleshooting
## Troubleshooting
@ -151,7 +155,10 @@ web-greeter related import errors: