Browse Source

Add greeter command

sisyphus
Matthias Berla 8 years ago committed by GitHub
parent
commit
3b3e621678
  1. 10
      README.md

10
README.md

@ -34,15 +34,17 @@ sudo make install
The greeter exposes a JavaScript API to themes which they must use to interact with the greeter (in order to facilitate the user login process). For more details, check out the [API Documentation](https://doclets.io/Antergos/web-greeter/stable). The greeter exposes a JavaScript API to themes which they must use to interact with the greeter (in order to facilitate the user login process). For more details, check out the [API Documentation](https://doclets.io/Antergos/web-greeter/stable).
## Debugging ## 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/`: 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`.
`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. You have to log out and log back in after adding that line. Then you can run the greeter from command line.
```sh
web-greeter
```
Themes can be opened with a debug console if you set `debug_mode` to `true` inside `/etc/lightdm/web-greeter.yml`. Themes can be opened with a debug console if you set `debug_mode` to `true` inside `/etc/lightdm/web-greeter.yml`.
***Note:*** Do not use `lightdm --test-mode` as it is not supported. > ***Note:*** Do not use `lightdm --test-mode` as it is not supported.
## Translations ## Translations
Translations are managed through [Transifex](https://www.transifex.com/faidoc/antergos/lightdm-webkit2-greeter/). Translations are managed through [Transifex](https://www.transifex.com/faidoc/antergos/lightdm-webkit2-greeter/).

Loading…
Cancel
Save